From 7f55c08c8656c73846f3e08ffe60777dd8dee8d3 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Wed, 19 Jun 2002 17:15:47 +0000 Subject: * libm/common/sf_lround.c (round): Change name to: (lround). * libm/common/sf_remquo.c (remquo): Pass all arguemnts to remquof. --- newlib/libm/common/sf_lround.c | 6 +++--- newlib/libm/common/sf_remquo.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'newlib/libm/common') 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) */ -- cgit v1.2.3