summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-10 08:23:13 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-10 08:23:13 +0000
commitae3241dcfe7ffd81766e179bb306b00c8764a312 (patch)
tree9610f1fec309db355e36aa806e92df7a479fa28f /numeric.c
parent4b9e46d95d76b96fa9dd9fa093c81dc079a8b714 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index f7439ec34b..e3afca6ee3 100644
--- a/numeric.c
+++ b/numeric.c
@@ -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'))) {