diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2011-09-08 23:37:32 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-09-08 23:37:32 -0400 |
commit | 7f5517aa5269af6cac791ca74111f817320b73f2 (patch) | |
tree | 0fd1727af3deb3b0205a8ba2371889a610fee6ed /math | |
parent | 5f69cd2f94fc7bf0a468bf0a5b53b32f2b7c468c (diff) | |
download | glibc-7f5517aa5269af6cac791ca74111f817320b73f2.tar.gz |
Fix lround() loses precision
Diffstat (limited to 'math')
-rw-r--r-- | math/libm-test.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index c6ed7a39fe..301d4a8f66 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); |