Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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.

BrowserUk:

That one worked nicely:

marco@Boink:~ $ perl 984255_bitvec_floats_2.pl 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

...roboticus

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (13)
As of 2015-07-30 21:28 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 (273 votes), past polls