* libm/common/sf_lround.c (round): Change name to: (lround).
* libm/common/sf_remquo.c (remquo): Pass all arguemnts to remquof.
This commit is contained in:
parent
03a2ce9a36
commit
7f55c08c86
@ -1,3 +1,9 @@
|
|||||||
|
2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
|
||||||
|
|
||||||
|
* 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 <fitzsim@redhat.com>
|
2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
|
||||||
|
|
||||||
* testsuite/lib/passfail.exp (newlib_pass_fail_all): New
|
* testsuite/lib/passfail.exp (newlib_pass_fail_all): New
|
||||||
|
@ -50,13 +50,13 @@
|
|||||||
#ifdef _DOUBLE_IS_32BITS
|
#ifdef _DOUBLE_IS_32BITS
|
||||||
|
|
||||||
#ifdef __STDC__
|
#ifdef __STDC__
|
||||||
long int round(double x)
|
long int lround(double x)
|
||||||
#else
|
#else
|
||||||
long int round(x)
|
long int lround(x)
|
||||||
double x;
|
double x;
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
return (double) roundf((float) x);
|
return (double) lroundf((float) x);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* defined(_DOUBLE_IS_32BITS) */
|
#endif /* defined(_DOUBLE_IS_32BITS) */
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
int *quo;
|
int *quo;
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
return (double) remquof((float) x);
|
return (double) remquof((float) x, (float) y, quo);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* defined(_DOUBLE_IS_32BITS) */
|
#endif /* defined(_DOUBLE_IS_32BITS) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user