From 7f5517aa5269af6cac791ca74111f817320b73f2 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Thu, 8 Sep 2011 23:37:32 -0400 Subject: Fix lround() loses precision --- math/libm-test.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'math/libm-test.inc') diff --git a/math/libm-test.inc b/math/libm-test.inc index c6ed7a3..301d4a8 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -4386,6 +4386,7 @@ lround_test (void) TEST_f_l (lround, 1073741824.01, 1073741824); # if LONG_MAX > 281474976710656 TEST_f_l (lround, 281474976710656.025, 281474976710656); + TEST_f_l (llround, -3.65309740835E17, -365309740835000000); # endif TEST_f_l (lround, 2097152.5, 2097153); TEST_f_l (lround, -2097152.5, -2097153); -- cgit v1.1