Joseph Faulls
dcb2b7d7b8
Delete check in catan, catanf, and catanl functions.
...
The check incorrectly results in catan returning nan + inf i when real part is +/- 1 and
imaginary part is 0. The same occurs for real 0.8 and imaginary 0.6.
The change ends up matching glibc behaviour.
2023-10-10 15:18:54 -04:00
Corinna Vinschen
371a9496e8
* libm/complex/catan.c, libm/complex/catanf.c,
...
libm/complex/ctan.c, libm/complex/ctanf.c:
Use HUGE_VAL instead of MAXNUM.
2010-11-29 12:15:02 +00:00
Corinna Vinschen
5af2a793bc
* libc/include/complex.h: New complex header.
...
* libm/common/fdlibm.h: Added ifdef _COMPLEX_H.
* libm/complex/*: New complex functions imported from NetBSD.
* libm/Makefile.am: Added complex subdir.
* libm/Makefile.in: Regenerate.
* libm/configure.in: Added complex subdir.
* libm/configure: Regenerate.
2010-10-08 10:35:14 +00:00