summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
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 1044071009..675528475f 100644
--- a/numeric.c
+++ b/numeric.c
@@ -775,7 +775,7 @@ rb_num2long(val)
sprintf(buf, "%-.10g", RFLOAT(val)->value);
if (s = strchr(buf, ' ')) *s = '\0';
- rb_raise(rb_eRangeError, "float %s out of rang of integer", buf);
+ rb_raise(rb_eRangeError, "float %s out of range of integer", buf);
}
case T_BIGNUM: