aboutsummaryrefslogtreecommitdiff
path: root/lib/msun/ld80
diff options
context:
space:
mode:
authorSteve Kargl <kargl@FreeBSD.org>2012-09-29 16:40:12 +0000
committerSteve Kargl <kargl@FreeBSD.org>2012-09-29 16:40:12 +0000
commita077586c537d92568f226ec30479ea865298d8e1 (patch)
treea17dbe78cb67e9c4dae3ef08509483639813f792 /lib/msun/ld80
parent000811380da73775ae7dbce70072030cf7247d82 (diff)
downloadsrc-a077586c537d92568f226ec30479ea865298d8e1.tar.gz
src-a077586c537d92568f226ec30479ea865298d8e1.zip
* src/math_private.h:
. Change the API for the LD80C by removing the explicit passing of the sign bit. The sign can be determined from the last parameter of the macro. . On i386, load long double by bit manipulations to work around at least a gcc compiler issue. On non-i386 ld80 architectures, use a simple assignment. * ld80/s_expl.c: . Update the only consumer of LD80C. Submitted by: bde Approved by: das (mentor)
Notes
Notes: svn path=/head/; revision=241051
Diffstat (limited to 'lib/msun/ld80')
-rw-r--r--lib/msun/ld80/s_expl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/msun/ld80/s_expl.c b/lib/msun/ld80/s_expl.c
index dfd49e5f7cdb..2395abe92d93 100644
--- a/lib/msun/ld80/s_expl.c
+++ b/lib/msun/ld80/s_expl.c
@@ -60,9 +60,9 @@ static volatile const long double tiny = 0x1p-10000L;
static const union IEEEl2bits
/* log(2**16384 - 0.5) rounded towards zero: */
-o_threshold = LD80C(0xb17217f7d1cf79ab, 13, 0, 11356.5234062941439488L),
+o_threshold = LD80C(0xb17217f7d1cf79ab, 13, 11356.5234062941439488L),
/* log(2**(-16381-64-1)) rounded towards zero: */
-u_threshold = LD80C(0xb21dfe7f09e2baa9, 13, 1, -11399.4985314888605581L);
+u_threshold = LD80C(0xb21dfe7f09e2baa9, 13, -11399.4985314888605581L);
static const double __aligned(64)
/*