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