Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Converting binary to double precision

by toolic (Bishop)
on Feb 24, 2014 at 18:25 UTC ( [id://1076019]=note: print w/replies, xml ) Need Help??


in reply to Converting binary to double precision

Reading the unpack documentation, there is no option for "D"
pack
D A float of long-double precision in native format. (Long doubles are available only if your system supports long double values _and_ if Perl has been compiled to support those. Raises an exception otherwise.)

Replies are listed 'Best First'.
Re^2: Converting binary to double precision
by ahoriuch (Acolyte) on Feb 24, 2014 at 18:35 UTC

    Is there a specific version/ install that I need? Invalid type 'D' in unpack at ... line 112, <FILE> chunk 1.

      I'm running on 5.12.2, and I see it. What version of perl do you use?

      UPDATE: I don't see it in 5.8.8. Also, I can't find any mention of a change to pack in either perl5100delta or perl5120delta.

        I'm using 5.8.8. Let me try installing 5.12.2. Thanks.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-24 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found