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:
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/libm/common/sf_lround.c6
-rw-r--r--newlib/libm/common/sf_remquo.c2
3 files changed, 10 insertions, 4 deletions
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 <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>
* 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) */