in reply to bug in Perl compilation?
I'm curious as to what
perl -e 'printf("%.30f\n", $_) foreach 12e-4, 1.2e-3'
prints for you. I get
0.001199999999999999900000000000 0.001199999999999999900000000000
on ActivePerl v5.6.1 on Win2k (where I get 0.0012 is equal to 0.0012).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: bug in Perl compilation?
by chas (Priest) on Dec 21, 2005 at 19:27 UTC | |
|
Re^2: bug in Perl compilation?
by bkgallo (Initiate) on Dec 21, 2005 at 19:25 UTC | |
by ikegami (Patriarch) on Dec 21, 2005 at 19:35 UTC | |
by ruoso (Curate) on Dec 22, 2005 at 15:52 UTC | |
by ikegami (Patriarch) on Dec 22, 2005 at 16:34 UTC |