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