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 dff9600 commit 96e7251Copy full SHA for 96e7251
src/jvm/clojure/lang/Numbers.java
@@ -986,7 +986,8 @@ static int hasheq(Number x){
986
if(xc == Long.class
987
|| xc == Integer.class
988
|| xc == Short.class
989
- || xc == Byte.class)
+ || xc == Byte.class
990
+ || (xc == BigInteger.class && lte(x, Long.MAX_VALUE) && gte(x,Long.MIN_VALUE)))
991
{
992
long lpart = x.longValue();
993
return Murmur3.hashLong(lpart);
0 commit comments