From 78d32943ac0c42cf283eaa0e6858cacf28632d12 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 25 Apr 2024 22:03:34 -0700 Subject: [PATCH] Added test for halfvec sum --- test/t/018_aggregates.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/t/018_aggregates.pl b/test/t/018_aggregates.pl index 8837111..1bdd22d 100644 --- a/test/t/018_aggregates.pl +++ b/test/t/018_aggregates.pl @@ -50,6 +50,11 @@ sub test_aggregate like($res, qr/,2\.5/); like($res, qr/,3\.5/); } + else + { + # Does not raise overflow error in this instance due to loss of precision + is($res, "[24576,24576,49152]") + } } test_aggregate('avg');