diff options
Diffstat (limited to 'src/complex/ctanhf.c')
| -rw-r--r-- | src/complex/ctanhf.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/complex/ctanhf.c b/src/complex/ctanhf.c index a7e1a5fc..72b76da0 100644 --- a/src/complex/ctanhf.c +++ b/src/complex/ctanhf.c @@ -50,7 +50,7 @@ float complex ctanhf(float complex z)  	}  	if (!isfinite(y)) -		return CMPLXF(y - y, y - y); +		return CMPLXF(ix ? y - y : x, y - y);  	if (ix >= 0x41300000) { /* x >= 11 */  		float exp_mx = expf(-fabsf(x)); | 
