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