Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^6: Unpacking extended-double precision floats

by Fengor (Pilgrim)
on Nov 30, 2006 at 13:08 UTC ( #586927=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Unpacking extended-double precision floats
in thread Unpacking extended-double precision floats

According to the wikipedia article on double precision floats it has 1 sign bit 11 exponent bits and 52 mantissa bits

--
"WHAT CAN THE HARVEST HOPE FOR IF NOT THE CARE OF THE REAPER MAN"
-- Terry Pratchett, "Reaper Man"


Comment on Re^6: Unpacking extended-double precision floats
Re^7: Unpacking extended-double precision floats
by BrowserUk (Pope) on Nov 30, 2006 at 13:28 UTC

    52-actual bits, but there is also an impled bit in for an effective mantissa of 53-bits.

    The tricky bit[sic] is that in the 64-bit mantissa of the 80-bit animal, there is not an implied bit.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
Re^7: Unpacking extended-double precision floats
by herveus (Parson) on Nov 30, 2006 at 13:29 UTC
    Howdy!

    Yep. That's the 64-bit flavor. The 80-bit flavor is 1 sign bit, 15 or more exponent bits, and 64 or more mantissa bits.

    yours,
    Michael

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://586927]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2014-08-20 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (121 votes), past polls