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

Re: Converting binary to double precision (big-endian)

by BrowserUk (Patriarch)
on Feb 24, 2014 at 19:06 UTC ( [id://1076025]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $n = pack 'H16', '3f0df9673344c570';;
    
    print unpack 'd>', $n;;
    5.71713084433029e-005
    
  2. or download this
    $n = pack 'H16', '3f0df9673344c570';;
    
    print unpack 'd', scalar reverse $n;;
    5.71713084433029e-005
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found