File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/main/java/org/apache/spark/util/collection/unsafe/sort Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ public long computePrefix(float value) {
103
103
return Float .floatToIntBits (value ) & 0xffffffffL ;
104
104
}
105
105
106
- public final long NULL_PREFIX = computePrefix (Float .MIN_VALUE );
106
+ public final long NULL_PREFIX = computePrefix (Float .NEGATIVE_INFINITY );
107
107
}
108
108
109
109
public static final class DoublePrefixComparator extends PrefixComparator {
@@ -118,6 +118,6 @@ public long computePrefix(double value) {
118
118
return Double .doubleToLongBits (value );
119
119
}
120
120
121
- public final long NULL_PREFIX = computePrefix (Double .MIN_VALUE );
121
+ public final long NULL_PREFIX = computePrefix (Double .NEGATIVE_INFINITY );
122
122
}
123
123
}
You can’t perform that action at this time.
0 commit comments