We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1115524 commit 6c57d8bCopy full SHA for 6c57d8b
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/BuiltinFunctions.java
@@ -1043,8 +1043,8 @@ long doPFloat(PFloat value,
1043
long doComplex(PComplex value,
1044
@Shared("isBuiltin") @Cached IsBuiltinClassProfile isBuiltin) {
1045
if (isBuiltin.profileIsAnyBuiltinObject(value)) {
1046
- int imag = Double.hashCode(value.getImag());
1047
- int real = Double.hashCode(value.getReal());
+ long imag = Double.hashCode(value.getImag());
+ long real = Double.hashCode(value.getReal());
1048
return (((real << 32) | imag) << IDTAG_SHIFT) | IDTAG_COMPLEX;
1049
} else {
1050
return doGeneric(value);
0 commit comments