Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 cooling their heels in the Monastery: (6)
As of 2015-07-07 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls