OSDN Git Service

* libm/mathfp/sf_pow.c (powf): Change k from int to float.
authorfitzsim <fitzsim>
Fri, 28 Jun 2002 15:32:44 +0000 (15:32 +0000)
committerfitzsim <fitzsim>
Fri, 28 Jun 2002 15:32:44 +0000 (15:32 +0000)
newlib/ChangeLog
newlib/libm/mathfp/sf_pow.c

index e057f2e..77de28b 100644 (file)
@@ -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.
index 7f40186..932e75d 100644 (file)
@@ -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);