mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-01 10:11:20 +08:00
Fixed code [skip ci]
This commit is contained in:
@@ -114,7 +114,7 @@ Float4ToFp8Unchecked(float num)
|
||||
exponent += 1;
|
||||
}
|
||||
|
||||
if (exponent > 7)
|
||||
if (exponent > 8)
|
||||
{
|
||||
/* Infinite, which is NaN */
|
||||
result |= 0x7F;
|
||||
|
||||
Reference in New Issue
Block a user