projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
on failed aio submission, set aiocb error and return value
[musl]
/
src
/
complex
/
ctanhf.c
diff --git
a/src/complex/ctanhf.c
b/src/complex/ctanhf.c
index
a7e1a5f
..
72b76da
100644
(file)
--- a/
src/complex/ctanhf.c
+++ b/
src/complex/ctanhf.c
@@
-50,7
+50,7
@@
float complex ctanhf(float complex z)
}
if (!isfinite(y))
}
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));
if (ix >= 0x41300000) { /* x >= 11 */
float exp_mx = expf(-fabsf(x));