mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Fix cproj handling of (finite, NaN) arguments (bug 15531).
This commit is contained in:
@ -24,9 +24,7 @@
|
||||
__complex__ float
|
||||
__cprojf (__complex__ float x)
|
||||
{
|
||||
if (isnan (__real__ x) && isnan (__imag__ x))
|
||||
return x;
|
||||
else if (!isfinite (__real__ x) || !isfinite (__imag__ x))
|
||||
if (__isinf_nsf (__real__ x) || __isinf_nsf (__imag__ x))
|
||||
{
|
||||
__complex__ float res;
|
||||
|
||||
|
Reference in New Issue
Block a user