summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/numeric.c b/src/numeric.c
index 4a22c23c7..db90d81fb 100644
--- a/src/numeric.c
+++ b/src/numeric.c
@@ -193,7 +193,7 @@ mrb_flo_to_str(mrb_state *mrb, mrb_value flo, int max_digit)
}
if (exp >= 100) {
- mrb_raise(mrb, E_RANGE_ERROR, "Too large expornent.");
+ mrb_raise(mrb, E_RANGE_ERROR, "Too large exponent.");
}
*(c++) = '0' + exp / 10;