Question for Parisse about CAS floating point
|
04-05-2015, 06:01 PM
Post: #1
|
|||
|
|||
Question for Parisse about CAS floating point
I was curious about the reason for the 48-bit precision of the CAS floating point values, so I took a peek at the source code of GIAC.
I see the gen class, which (when DOUBLEVAL is defined), uses its space for a double overlapped with the 8-bit type field, and that the type is rewritten when the gen used as a double, and zeroed when returning its double value (so effectively truncating the mantissa). But that would remove 8 bits from the 53-bit double mantissa, making it 45, not 48 bits, which is what I get playing with Joe Horn’s hex (and the exponent range of double seems to be preserved too). So, what am I missing? And, on a different note, is there any chance of having DOUBLEVAL (or BCD) in the Prime? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Question for Parisse about CAS floating point - jgoizueta - 04-05-2015 06:01 PM
RE: Question for Parisse about CAS floating point - parisse - 04-06-2015, 06:43 AM
RE: Question for Parisse about CAS floating point - jgoizueta - 04-06-2015, 09:25 AM
RE: Question for Parisse about CAS floating point - compsystems - 04-06-2015, 01:44 PM
RE: Question for Parisse about CAS floating point - jgoizueta - 04-06-2015, 09:02 PM
RE: Question for Parisse about CAS floating point - Joe Horn - 04-07-2015, 02:44 AM
RE: Question for Parisse about CAS floating point - jte - 04-10-2015, 07:58 PM
RE: Question for Parisse about CAS floating point - Joe Horn - 04-12-2015, 12:36 PM
RE: Question for Parisse about CAS floating point - jte - 04-12-2015, 08:11 PM
RE: Question for Parisse about CAS floating point - parisse - 04-12-2015, 05:36 PM
RE: Question for Parisse about CAS floating point - parisse - 04-13-2015, 06:40 AM
|
User(s) browsing this thread: 1 Guest(s)