Skip to content

Commit e5cb75c

Browse files
committed
Woops, wrong masks
1 parent 851b473 commit e5cb75c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/FastData/Internal/Misc/PrimitiveHash.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ private static ulong HashF32(float value)
2828

2929
unchecked
3030
{
31-
if (((bits - 1) & ~(0x8000_0000)) >= 0x7FF0_0000)
32-
bits &= 0x7FF0_0000;
31+
if (((bits - 1) & ~0x8000_0000) >= 0x7F80_0000)
32+
bits &= 0x7F80_0000;
3333
}
3434

3535
return bits;

0 commit comments

Comments
 (0)