From: Thomas Fitzsimmons Date: Wed, 19 Jun 2002 17:15:47 +0000 (+0000) Subject: * libm/common/sf_lround.c (round): Change name to: (lround). X-Git-Tag: pre-no-this~515 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=7f55c08c8656c73846f3e08ffe60777dd8dee8d3;p=newlib-cygwin.git * libm/common/sf_lround.c (round): Change name to: (lround). * libm/common/sf_remquo.c (remquo): Pass all arguemnts to remquof. --- diff --git a/newlib/ChangeLog b/newlib/ChangeLog index cc0b5ba96..8d0b6df0f 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,9 @@ +2002-06-19 J"orn Rennecke + + * libm/common/sf_lround.c (round): Change name to: (lround). + * libm/common/sf_remquo.c (remquo): Pass all arguemnts to + remquof. + 2002-06-18 Thomas Fitzsimmons * testsuite/lib/passfail.exp (newlib_pass_fail_all): New 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) */