Fixed code [skip ci]

This commit is contained in:
Andrew Kane
2024-09-24 00:36:23 -07:00
parent 3b0976b725
commit e10a5c90df

View File

@@ -114,7 +114,7 @@ Float4ToFp8Unchecked(float num)
exponent += 1;
}
if (exponent > 7)
if (exponent > 8)
{
/* Infinite, which is NaN */
result |= 0x7F;