Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^3: Exploring IEEE754 floating point bit patterns.

by roboticus (Chancellor)
on Jul 29, 2012 at 04:15 UTC ( #984262=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Exploring IEEE754 floating point bit patterns.
in thread Exploring IEEE754 floating point bit patterns.


That one worked nicely:

marco@Boink:~ $ perl 0 : 0000000000000000 4.940656458412465e-324 : 0000000000000001 2.225073858507201e-308 : 000fffffffffffff 2.225073858507201e-308 : 0010000000000000 1.797693134862316e+308 : 7fefffffffffffff inf : 7ff0000000000000 nan : 7ff0000000000001 nan : 7ff7ffffffffffff nan : 7ff8000000000000 nan : 7fffffffffffffff -0 : 8000000000000000 -4.940656458412465e-324 : 8000000000000001 -2.225073858507201e-308 : 800fffffffffffff -2.225073858507201e-308 : 8010000000000000 -1.797693134862316e+308 : ffefffffffffffff -inf : fff0000000000000 -nan : fff0000000000001 -nan : fff7ffffffffffff -nan : fff8000000000000 -nan : fff8000000000001 -nan : ffffffffffffffff


When your only tool is a hammer, all problems look like your thumb.

Comment on Re^3: Exploring IEEE754 floating point bit patterns.
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2015-11-26 09:00 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (696 votes), past polls