diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-10 08:23:13 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-10 08:23:13 +0000 |
commit | ae3241dcfe7ffd81766e179bb306b00c8764a312 (patch) | |
tree | 9610f1fec309db355e36aa806e92df7a479fa28f /numeric.c | |
parent | 4b9e46d95d76b96fa9dd9fa093c81dc079a8b714 (diff) |
* eval.c (eval): warning during eval should not cause deadlock.
[ruby-talk:98651]
* eval.c (rb_eval): raise TypeError exception for superclass
mismatch. [ruby-dev:39567]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -502,7 +502,7 @@ flo_to_s(flt) avalue = fabs(value); if (avalue < 1.0e-7 || avalue >= 1.0e15) { - fmt = "%.16e"; + fmt = "%.15e"; } sprintf(buf, fmt, value); if (!(e = strchr(buf, 'e'))) { |