C++ SDK Documentation  9.0
Basics::BigInt::long_double_parts Union Reference
Collaboration diagram for Basics::BigInt::long_double_parts:
Collaboration graph

Public Member Functions

 long_double_parts (long double v=0.0)
 

Public Attributes

struct {
   unsigned short int   exponent
 
   unsigned long long int   mantissa
 
   unsigned short int   remainder [3]
 
}; 
 
long double value
 

Detailed Description

x86 only 80-bit extended precision float 64 bit mantissa, stored little endian (just like a 64-bit int) Note that the mantissa does not have an implicit "1" bit thus eliminating the concept of denormal numbers. 16 bit exponent, also little endian, within the next 64 bits. High bit is sign Lower 15 bits are "excess 16383" Example: 1.0 is stored as, in binary: mantissa: 1000000000000000000000000000000000000000000000000000000000000000, exponent: 0011111111111111