Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
more useful options
 
PerlMonks  

Re^2: Exploring IEEE754 floating point bit patterns.

by BrowserUk (Pope)
on Jul 29, 2012 at 03:11 UTC ( #984255=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl -slw
    use strict;
    ...
        NEG_ZERO, NEG_DENORM_1ST, NEG_DENORM_LST, NEG_NORM_1ST, NEG_NORM_L
    +ST,
        NEG_INF, NEG_SNAN_1ST, NEG_SNAN_LST,
        NEG_IND, NEG_QNAN_1ST, NEG_QNAN_LST;
    
  2. or download this
    C:\test>\perl32\bin\perl ieee-32b.pl
                          0 : 0000000000000000
    ...
                    -1.#IND : fff8000000000000
                   -1.#QNAN : fff8000000000001
                   -1.#QNAN : ffffffffffffffff
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (14)
As of 2014-04-23 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (541 votes), past polls