From 24c1b51099c7a1f26439625b07d4091c0e3b8305 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 24 Apr 2024 10:13:50 -0700 Subject: [PATCH] Added comment [skip ci] --- src/halfvec.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/halfvec.c b/src/halfvec.c index 81468c3..ce358ca 100644 --- a/src/halfvec.c +++ b/src/halfvec.c @@ -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])); }