Fix the warning in rb_big2dbl, Bignum is no longer defined

This commit is contained in:
Nobuyoshi Nakada 2021-12-29 11:49:06 +09:00
parent 3238164f9c
commit 27765a7502
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6
1 changed files with 1 additions and 1 deletions

View File

@ -5317,7 +5317,7 @@ rb_big2dbl(VALUE x)
double d = big2dbl(x);
if (isinf(d)) {
rb_warning("Bignum out of Float range");
rb_warning("Integer out of Float range");
if (d < 0.0)
d = -HUGE_VAL;
else