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 | 36b02b16a134f67091ce238e6ac2eb0968a643a9 (patch) | |
| tree | 7bd0475b6950957f2d50e9fc3b0b2057870f8b62 /ChangeLog | |
| parent | bdf76704525615814f2891e76e34ce839b2d2d0d (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/branches/ruby_1_8@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:14:25 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 01:15:23 2004 why the lucky stiff <why@ruby-lang.org> * lib/yaml.rb: removed fallback to pure Ruby parser. |
