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
Any changes in rounding algorithm?# perl -v This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Using (s)printf()
by Anonymous Monk on Oct 01, 2012 at 11:11 UTC | |
by Anonymous Monk on Oct 03, 2012 at 06:14 UTC |