diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-17 07:14:45 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-17 07:14:45 +0000 |
commit | a655b0d8e1bf5ef406caa3c0d5edf68a2b411443 (patch) | |
tree | c4a29e8aa8b36d96eed88139ff817e90b878732d /ext/stringio | |
parent | 14b693c1b38af1ef5eb26a303a4ba48476353112 (diff) |
* numeric.c (flo_to_s): p 0.0 should be '0.0' not '0.0e+00'.
* numeric.c (flo_to_s): the number of significand is correctly handled,
there is assumption that DBL_DIG == 15 though.
(p 0.00000000000000000001 was '9.999999999999999e-21', now is
'1.0e-20')
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/stringio')
0 files changed, 0 insertions, 0 deletions