Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -380,8 +380,6 @@ public double div(long a, double b) {

@Specialization(guards = {"!isLongMinValue(a)", "isRubyBignum(b)"})
public int div(long a, DynamicObject b) {
assert Layouts.BIGNUM.getValue(b).compareTo(BigInteger.valueOf(Long.MAX_VALUE)) == 1 ||
Layouts.BIGNUM.getValue(b).compareTo(BigInteger.valueOf(Long.MIN_VALUE)) == -1;
return 0;
}

0 comments on commit ea79fdc

Please sign in to comment.