musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/complex/ctanl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/ctanl.c')
-rw-r--r--src/complex/ctanl.c 4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/complex/ctanl.c b/src/complex/ctanl.c
index 4b4c99b6..ac1c3e0a 100644
--- a/src/complex/ctanl.c
+++ b/src/complex/ctanl.c
@@ -8,7 +8,7 @@ long double complex ctanl(long double complex z)
#else
long double complex ctanl(long double complex z)
{
- z = ctanhl(cpackl(-cimagl(z), creall(z)));
- return cpackl(cimagl(z), -creall(z));
+ z = ctanhl(CMPLXL(-cimagl(z), creall(z)));
+ return CMPLXL(cimagl(z), -creall(z));
}
#endif
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月04日 23:30:53 +0000

AltStyle によって変換されたページ (->オリジナル) /