aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-17 07:14:45 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-17 07:14:45 +0000
commita655b0d8e1bf5ef406caa3c0d5edf68a2b411443 (patch)
treec4a29e8aa8b36d96eed88139ff817e90b878732d /ChangeLog
parent14b693c1b38af1ef5eb26a303a4ba48476353112 (diff)
downloadruby-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--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 00d44bfe2a..7c822e8f4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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