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

Re: Extracting IEEE 754 floating point numbers

by Thelonius (Priest)
on Oct 28, 2002 at 18:14 UTC ( #208574=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print unpack "H*", pack "f*", 1, 1, 1, 1, 1.5, 1.5
    
  2. or download this
    @floats = unpack "f*", pack "N*", unpack "V*", $floatingpointdata;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://208574]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2018-05-22 02:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?