Fixed infinite values with vector addition and subtraction

This commit is contained in:
Andrew Kane
2023-05-31 13:54:19 -07:00
parent dee2c4feb1
commit 0ef0467a0f
4 changed files with 15 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
SELECT '[1,2,3]'::vector + '[4,5,6]';
SELECT '[3e38]'::vector + '[3e38]';
SELECT '[1,2,3]'::vector - '[4,5,6]';
SELECT '[-3e38]'::vector - '[3e38]';
SELECT vector_dims('[1,2,3]');