Post Reply 
Question for Parisse about CAS floating point
04-06-2015, 06:43 AM
Post: #2
RE: Question for Parisse about CAS floating point
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.
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 - parisse - 04-06-2015 06:43 AM



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