summaryrefslogtreecommitdiffstats
path: root/libm/upstream-freebsd/lib/msun/src/k_exp.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-08-28 20:21:43 -0700
committerSteve Kondik <steve@cyngn.com>2015-11-07 01:42:32 -0800
commit795a57e08bb61fb0c2ae22d9f7a3ae6312511fed (patch)
tree347d4ddf0e4f68eaa591fd0fff643fb5e02ebe4c /libm/upstream-freebsd/lib/msun/src/k_exp.c
parent245c1718cb035268284bea8dabe3faa3f8326ee8 (diff)
downloadbionic-795a57e08bb61fb0c2ae22d9f7a3ae6312511fed.zip
bionic-795a57e08bb61fb0c2ae22d9f7a3ae6312511fed.tar.gz
bionic-795a57e08bb61fb0c2ae22d9f7a3ae6312511fed.tar.bz2
Sync with upstream FreeBSD libm.
Change-Id: I97e9b23903f1d993d84825806065e85626007d31
Diffstat (limited to 'libm/upstream-freebsd/lib/msun/src/k_exp.c')
-rw-r--r--libm/upstream-freebsd/lib/msun/src/k_exp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libm/upstream-freebsd/lib/msun/src/k_exp.c b/libm/upstream-freebsd/lib/msun/src/k_exp.c
index f592f69..5aa3ef3 100644
--- a/libm/upstream-freebsd/lib/msun/src/k_exp.c
+++ b/libm/upstream-freebsd/lib/msun/src/k_exp.c
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
+__FBSDID("$FreeBSD: head/lib/msun/src/k_exp.c 275819 2014-12-16 09:21:56Z ed $");
#include <complex.h>
@@ -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));
}