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-28 19:32:45 +0400
committerThomas Fitzsimmons <fitzsim@redhat.com>2002-06-28 19:32:45 +0400
commit2d5eb17ee38b19b91eaecceb9136885aa4281080 (patch)
tree33bfc9742b5b67fb6bd28dfce359c55e780f2063
parentc1a3171f2dae463528fda965bac53e1adb34c688 (diff)
* libm/mathfp/sf_pow.c (powf): Change k from int to float.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libm/mathfp/sf_pow.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index e057f2e48..77de28b9c 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * libm/mathfp/sf_pow.c (powf): Change k from int to float.
+
2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
* libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
diff --git a/newlib/libm/mathfp/sf_pow.c b/newlib/libm/mathfp/sf_pow.c
index 7f40186da..932e75dbb 100644
--- a/newlib/libm/mathfp/sf_pow.c
+++ b/newlib/libm/mathfp/sf_pow.c
@@ -6,8 +6,8 @@
float powf (float x, float y)
{
- float d, t, r = 1.0;
- int n, k, sign = 0, exponent_is_even_int = 0;
+ float d, k, t, r = 1.0;
+ int n, sign, exponent_is_even_int = 0;
__int32_t px;
GET_FLOAT_WORD (px, x);