diff options
author | Elliott Hughes <enh@google.com> | 2015-08-28 20:21:43 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-07 01:42:32 -0800 |
commit | 795a57e08bb61fb0c2ae22d9f7a3ae6312511fed (patch) | |
tree | 347d4ddf0e4f68eaa591fd0fff643fb5e02ebe4c /libm/upstream-freebsd/lib/msun/src/k_expf.c | |
parent | 245c1718cb035268284bea8dabe3faa3f8326ee8 (diff) | |
download | bionic-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_expf.c')
-rw-r--r-- | libm/upstream-freebsd/lib/msun/src/k_expf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libm/upstream-freebsd/lib/msun/src/k_expf.c b/libm/upstream-freebsd/lib/msun/src/k_expf.c index 548a008..8fe8c46 100644 --- a/libm/upstream-freebsd/lib/msun/src/k_expf.c +++ b/libm/upstream-freebsd/lib/msun/src/k_expf.c @@ -25,7 +25,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); +__FBSDID("$FreeBSD: head/lib/msun/src/k_expf.c 275819 2014-12-16 09:21:56Z ed $"); #include <complex.h> @@ -82,6 +82,6 @@ __ldexp_cexpf(float complex z, int expt) half_expt = expt - half_expt; SET_FLOAT_WORD(scale2, (0x7f + half_expt) << 23); - return (cpackf(cosf(y) * exp_x * scale1 * scale2, + return (CMPLXF(cosf(y) * exp_x * scale1 * scale2, sinf(y) * exp_x * scale1 * scale2)); } |