summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/bignum.c b/bignum.c
index 95de9732675..82562768704 100644
--- a/bignum.c
+++ b/bignum.c
@@ -945,10 +945,6 @@ rb_big_modulo(x, y)
case T_BIGNUM:
break;
- case T_FLOAT:
- y = dbl2big(RFLOAT(y)->value);
- break;
-
default:
return rb_num_coerce_bin(x, y);
}
@@ -971,10 +967,6 @@ rb_big_remainder(x, y)
case T_BIGNUM:
break;
- case T_FLOAT:
- y = dbl2big(RFLOAT(y)->value);
- break;
-
default:
return rb_num_coerce_bin(x, y);
}
@@ -994,10 +986,6 @@ rb_big_divmod(x, y)
y = rb_int2big(FIX2LONG(y));
break;
- case T_FLOAT:
- y = dbl2big(RFLOAT(y)->value);
- break;
-
case T_BIGNUM:
break;