diff options
author | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-06-19 17:15:47 +0000 |
---|---|---|
committer | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-06-19 17:15:47 +0000 |
commit | 7f55c08c8656c73846f3e08ffe60777dd8dee8d3 (patch) | |
tree | fd74dfe4b6d5350c2588506dc9bc17645bea9c3d /newlib/libm | |
parent | 03a2ce9a3623dddc5ff7db9a3c18e2eb359e4afe (diff) | |
download | cygnal-7f55c08c8656c73846f3e08ffe60777dd8dee8d3.tar.gz cygnal-7f55c08c8656c73846f3e08ffe60777dd8dee8d3.tar.bz2 cygnal-7f55c08c8656c73846f3e08ffe60777dd8dee8d3.zip |
* libm/common/sf_lround.c (round): Change name to: (lround).
* libm/common/sf_remquo.c (remquo): Pass all arguemnts to
remquof.
Diffstat (limited to 'newlib/libm')
-rw-r--r-- | newlib/libm/common/sf_lround.c | 6 | ||||
-rw-r--r-- | newlib/libm/common/sf_remquo.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libm/common/sf_lround.c b/newlib/libm/common/sf_lround.c index e2e4227e2..d715423e4 100644 --- a/newlib/libm/common/sf_lround.c +++ b/newlib/libm/common/sf_lround.c @@ -50,13 +50,13 @@ #ifdef _DOUBLE_IS_32BITS #ifdef __STDC__ - long int round(double x) + long int lround(double x) #else - long int round(x) + long int lround(x) double x; #endif { - return (double) roundf((float) x); + return (double) lroundf((float) x); } #endif /* defined(_DOUBLE_IS_32BITS) */ diff --git a/newlib/libm/common/sf_remquo.c b/newlib/libm/common/sf_remquo.c index f620f518e..41c2038d4 100644 --- a/newlib/libm/common/sf_remquo.c +++ b/newlib/libm/common/sf_remquo.c @@ -44,7 +44,7 @@ int *quo; #endif { - return (double) remquof((float) x); + return (double) remquof((float) x, (float) y, quo); } #endif /* defined(_DOUBLE_IS_32BITS) */ |