mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fix typo from expornent to exponent
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user