diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2008-04-12 10:53:49 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2008-04-12 10:53:49 +0000 |
commit | 08567827b4d55a05c3afcdadb5ae322089287150 (patch) | |
tree | e67a3610598bd7351d4c4cad020a093f9d41ed25 /libc/sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c | |
parent | 29888bcfdf080afd1ccbe11b7939b17a9eb5d9bf (diff) |
Merge changes between r5879 and r5900 from /fsf/trunk.
Also:
* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Also test
__NO_FPRS__.
git-svn-id: svn://svn.eglibc.org/trunk@5901 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c')
-rw-r--r-- | libc/sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c b/libc/sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c index 2561fda32..36c5a164d 100644 --- a/libc/sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c +++ b/libc/sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c @@ -1,6 +1,6 @@ /* Round to int long double floating-point values without raising inexact. IBM extended format long double version. - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006, 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -84,8 +84,8 @@ __nearbyintl (x) { /* Else the high double is pre rounded and we need to adjust for that. */ - - tau = nextafter (u.dd[0], 0.0); + + tau = __nextafter (u.dd[0], 0.0); tau = (u.dd[0] - tau) * 2.0; high = u.dd[0] - tau; low = u.dd[1] + tau; @@ -106,7 +106,7 @@ __nearbyintl (x) { /* Else the high double is pre rounded and we need to adjust for that. */ - tau = nextafter (u.dd[0], 0.0); + tau = __nextafter (u.dd[0], 0.0); tau = (u.dd[0] - tau) * 2.0; high = u.dd[0] - tau; low = u.dd[1] + tau; |