summaryrefslogtreecommitdiffstats
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
commitcb6bbb36844667be216d9dd875c5dfcce1a83526 (patch)
treec4a29e8aa8b36d96eed88139ff817e90b878732d /ChangeLog
parentd25d11915f4492555fccbc41bb7eb96eec3909ff (diff)
downloadruby-cb6bbb36844667be216d9dd875c5dfcce1a83526.tar.gz
ruby-cb6bbb36844667be216d9dd875c5dfcce1a83526.tar.xz
ruby-cb6bbb36844667be216d9dd875c5dfcce1a83526.zip
* 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: http://svn.ruby-lang.org/repos/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 00d44bfe2..7c822e8f4 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