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 /ChangeLog | |
parent | 14b693c1b38af1ef5eb26a303a4ba48476353112 (diff) | |
download | ruby-a655b0d8e1bf5ef406caa3c0d5edf68a2b411443.tar.gz |
* 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 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +Mon May 17 16:04:06 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> + + * 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') + Mon May 17 00:36:21 2004 why the lucky stiff <why@ruby-lang.org> * lib/yaml/baseemitter.rb (indent_text): was forcing a mod value |