4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-03-05 14:35:56 +08:00

3 Commits

Author SHA1 Message Date
Pietro Monteiro
1ed1516136 newlib: libm: skip "long double" complex functions if long double != double
The rest of "long double" functions aren't compiled with long double
and double are not the same.  Do the same for all complex functions.

Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
2024-06-06 13:19:06 -04:00
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
Aditya Upadhyay
0e0900cb40 Importing catanl long double complex method from NetBSD. 2017-07-28 20:36:09 +02:00