mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Fix spurious underflows in ldbl-128 atan implementation.
With help from Joseph Myers. * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and very large arguments properly. * math/libm-test.inc (atan_test): New tests. (atan2_test): New tests. * sysdeps/sparc/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
This commit is contained in:
@ -102,6 +102,9 @@ float: 1
|
||||
ifloat: 1
|
||||
ildouble: 1
|
||||
ldouble: 1
|
||||
Test "atan2 (-max_value, -min_value) == -pi/2":
|
||||
float: 1
|
||||
ifloat: 1
|
||||
Test "atan2 (0.75, -1.0) == 2.49809154479650885165983415456218025":
|
||||
float: 1
|
||||
ifloat: 1
|
||||
|
Reference in New Issue
Block a user