Post Reply 
Question for Parisse about CAS floating point
04-06-2015, 09:25 AM (This post was last modified: 04-06-2015 09:02 PM by jgoizueta.)
Post: #3
RE: Question for Parisse about CAS floating point
(04-06-2015 06:43 AM)parisse Wrote:  The type field was 8 bits large in the past, but it is now 5 bits large
Code:

    unsigned char type:5;  // 32 types is enough, keep 3 bits more for double
That leaves 48 bits (47+1 implicit) for mantissa (47+5+1 sign+11 exponent=64 bits, sizeof(gen)=8) if DOUBLEVAL is not defined.

Oh, I see... the code I was looking at (giac-0.9.5) didn't have the ":5" bitfield.

Thanks!!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Question for Parisse about CAS floating point - jgoizueta - 04-06-2015 09:25 AM



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