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

Re^2: Using (s)printf()

by Anonymous Monk
on Oct 01, 2012 at 11:04 UTC ( [id://996619]=note: print w/replies, xml ) Need Help??


in reply to Re: Using (s)printf()
in thread Using (s)printf()

Perl exhibits strange behaviour after moving from x32 to x64 platform:

Before:

# perl -e 'printf("%.2f", 6.685);' 6.68

# perl -v This is perl, v5.10.1 (*) built for i386-linux-thread-multi

After:

# perl -e 'printf("%.2f", 6.685);' 6.69

# perl -v This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

Any changes in rounding algorithm?

Replies are listed 'Best First'.
Re^3: Using (s)printf()
by Anonymous Monk on Oct 01, 2012 at 11:11 UTC

      It looks like there is a problem with numeric.c: Perl_grok_number (Perl's own string-to-number conversion).

      Perl bugs tickets #115092, #41202

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-28 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found