mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-06 17:28:40 +00:00
Prevent overflow at cost to speed
This commit is contained in:
1 parent
47e361a93d
commit
9ed7e63fb7
3 files changed
+14
-5
No files matched your search
@@ -16,6 +16,7 @@ SELECT normalize_l2('[3,4]');
|
||||
SELECT normalize_l2('[3,0]');
|
||||
SELECT normalize_l2('[0,0.1]');
|
||||
SELECT normalize_l2('[0,0]');
|
||||
SELECT normalize_l2('[3e38]');
|
||||
|
||||
SELECT l2_distance('[0,0]', '[3,4]');
|
||||
SELECT l2_distance('[0,0]', '[0,1]');
|
||||
|
||||
Reference in new issue
Block a user