Skip to content

Commit 2a08117

Browse files
committed
Reformat
1 parent b8c2cb1 commit 2a08117

File tree

1 file changed

+3
-3
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/ints

1 file changed

+3
-3
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/ints/IntBuiltins.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ public abstract static class RTrueDivNode extends PythonBinaryBuiltinNode {
414414

415415
@Specialization
416416
double doPL(PInt right, long left) {
417-
if (right.isZero()) {
417+
if (right.isZero()) {
418418
throw raise(PythonErrorType.ZeroDivisionError, "division by zero");
419419
}
420420
return op(PInt.longToBigInteger(left), right.getValue());
@@ -677,8 +677,8 @@ Object doLongWithOverflow(long x, long y) {
677677
// Some bits greater than 2^31 that might cause overflow
678678
// Check the result using the divide operator
679679
// and check for the special case of Long.MIN_VALUE * -1
680-
if (((y != 0) && (r / y != x)) ||
681-
(x == Long.MIN_VALUE && y == -1)) {
680+
if (((y != 0) && (r / y != x)) ||
681+
(x == Long.MIN_VALUE && y == -1)) {
682682
return factory().createInt(mul(PInt.longToBigInteger(x), PInt.longToBigInteger(y)));
683683
}
684684
}

0 commit comments

Comments
 (0)