[dba-Tech] Conversion of REAL decimal numbers to Hex

Steve Erbach erbachs at gmail.com
Wed Mar 22 08:39:00 CST 2006


Marty,

I mean 2^31 - 1.

Steve Erbach

On 3/21/06, MartyConnelly <martyconnelly at shaw.ca> wrote:
> There is no decimal point. It is implied.
> Double Floating Point numbers are encoded by IEEE 754 for MS
> 1 bit sign (high order bit) really part of exponent by normalization
> 11 bit exponent
> 53 bit mantissa
> However Intel FPU registers can handle 80 bits but that's another story
> for bedtime.
>
> 3FF is 1023 or 1 less than 1024 so there maybe some exponent bias to
> handle negative numbers and exponent
> for 32 bit  exponent bias is =127 or 7F  approx 2^7 so needs 7 bits and
> 1 sign bit storage



More information about the dba-Tech mailing list