mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-15 09:06:56 +08:00
Added comment [skip ci]
This commit is contained in:
@@ -328,6 +328,10 @@ halfvec_out(PG_FUNCTION_ARGS)
|
|||||||
if (i > 0)
|
if (i > 0)
|
||||||
AppendChar(ptr, ',');
|
AppendChar(ptr, ',');
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use shortest decimal representation of single-precision float for
|
||||||
|
* simplicity
|
||||||
|
*/
|
||||||
AppendFloat(ptr, HalfToFloat4(vector->x[i]));
|
AppendFloat(ptr, HalfToFloat4(vector->x[i]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user