summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/k_exp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/src/k_exp.c')
-rw-r--r--lib/msun/src/k_exp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msun/src/k_exp.c b/lib/msun/src/k_exp.c
index f592f69..ecef54c 100644
--- a/lib/msun/src/k_exp.c
+++ b/lib/msun/src/k_exp.c
@@ -103,6 +103,6 @@ __ldexp_cexp(double complex z, int expt)
half_expt = expt - half_expt;
INSERT_WORDS(scale2, (0x3ff + half_expt) << 20, 0);
- return (cpack(cos(y) * exp_x * scale1 * scale2,
+ return (CMPLX(cos(y) * exp_x * scale1 * scale2,
sin(y) * exp_x * scale1 * scale2));
}
OpenPOWER on IntegriCloud