sprintf %.g broken in bleadperl
by Enache Adrian other posts by this author
Nov 24 2003 7:08AM messages near this date
Smoke [5.9.0] 21780 FAIL(c) bsd/os 4.1 (i386/1 cpu)
|
Re: sprintf %.g broken in bleadperl
On a -Duselongdouble perl:
$ perl -le 'printf "%.40g ", 0.01; print'
0.009999999999999999999796712092658967918624
$ perl -le 'printf "%.40g", 0.01; print'
0.0100000000000000002082
Regards,
Adi
Thread:
Enache Adrian
Rafael Garcia-Suarez
Ilya Zakharevich
Yitzchak Scott-Thoennes
Enache Adrian
Rafael Garcia-Suarez
Ilya Zakharevich
Yitzchak Scott-Thoennes
Ilya Zakharevich
Andy Lester
|