Unexpected result calculating the determinant of a singular matrix (42S)
10-21-2019, 06:12 PM
Post: #17
 John Keith Senior Member Posts: 1,027 Joined: Dec 2013
RE: Unexpected result calculating the determinant of a singular matrix (42S)
(10-21-2019 12:48 PM)ttw Wrote:  However, I've been working on some number theory stuff (which I'll post if I get it in shape for public use) that use really big (greater than 2^64) integers. Some seemingly integer stuff ends up being floating point. Conversions of big numbers out of binary comes to mine. I've got most things to work.

Reducing some things with big integer multiple of things like Sqrt(2) or (Sqrt(5)-1)/2 and the like need careful handling. Generally FLOOR and CEIL work well. FXND can be a problem as I found some case (I can't reproduce it) where would convert a number to a floating point.

Conversion of binary numbers to reals will lose precision if the value is greater than 10^12. To convert large binary numbers to exact integers, you can try
->STR 3. OVER SIZE 1. - SUB OBJ-> in decimal mode.

I can't see how FXND would return reals as long as you are in exact mode (check flags -3 and -105). If you want floating-point numbers with more than 12 digits you will have to use LongFloat.

I am also interested in number theory and I would like to see what you come up with.

Apologies to others for taking this thread off-topic.
 « Next Oldest | Next Newest »

 Messages In This Thread Unexpected result calculating the determinant of a singular matrix (42S) - Dave Britten - 10-21-2019, 01:54 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-21-2019, 02:24 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Dave Britten - 10-21-2019, 02:30 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-21-2019, 02:36 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Thomas Okken - 10-21-2019, 03:11 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-21-2019, 04:23 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - pinkman - 10-21-2019, 07:39 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Moggul - 10-21-2019, 08:41 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Thomas Okken - 10-21-2019, 11:37 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-21-2019, 10:33 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - John Keith - 10-21-2019, 11:58 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - ttw - 10-21-2019, 12:48 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - John Keith - 10-21-2019 06:12 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Dave Britten - 10-21-2019, 01:49 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Thomas Okken - 10-21-2019, 03:06 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Claudio L. - 10-21-2019, 04:46 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Thomas Okken - 10-21-2019, 05:54 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - toml_12953 - 10-21-2019, 06:00 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - ttw - 10-21-2019, 07:10 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Werner - 10-22-2019, 06:12 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Thomas Okken - 10-22-2019, 11:11 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-23-2019, 04:50 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Werner - 10-23-2019, 07:01 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-23-2019, 11:06 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Werner - 10-24-2019, 06:34 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-25-2019, 11:00 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Paul Dale - 10-22-2019, 09:23 AM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Werner - 10-22-2019, 12:13 PM RE: Unexpected result calculating the determinant of a singular matrix (42S) - Werner - 10-28-2019, 08:29 AM

User(s) browsing this thread: 1 Guest(s)