Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Fitzsimmons <fitzsim@redhat.com>2002-06-19 21:15:47 +0400
committerThomas Fitzsimmons <fitzsim@redhat.com>2002-06-19 21:15:47 +0400
commit7f55c08c8656c73846f3e08ffe60777dd8dee8d3 (patch)
treefd74dfe4b6d5350c2588506dc9bc17645bea9c3d /newlib/libm/common
parent03a2ce9a3623dddc5ff7db9a3c18e2eb359e4afe (diff)
* 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/common')
-rw-r--r--newlib/libm/common/sf_lround.c6
-rw-r--r--newlib/libm/common/sf_remquo.c2
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) */