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 | 6b8844dd4be6384ca2fa63591fd91a0399bc77f2 (patch) | |
tree | 9610f1fec309db355e36aa806e92df7a479fa28f /numeric.c | |
parent | 6ac361604b02987a626410049edd743a2e8c0e45 (diff) | |
download | ruby-6b8844dd4be6384ca2fa63591fd91a0399bc77f2.tar.gz ruby-6b8844dd4be6384ca2fa63591fd91a0399bc77f2.tar.xz ruby-6b8844dd4be6384ca2fa63591fd91a0399bc77f2.zip |
* 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: http://svn.ruby-lang.org/repos/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'))) { |