diff options
author | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-06-28 15:32:45 +0000 |
---|---|---|
committer | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-06-28 15:32:45 +0000 |
commit | 2d5eb17ee38b19b91eaecceb9136885aa4281080 (patch) | |
tree | 33bfc9742b5b67fb6bd28dfce359c55e780f2063 /newlib/libm/mathfp | |
parent | c1a3171f2dae463528fda965bac53e1adb34c688 (diff) | |
download | newlib-2d5eb17ee38b19b91eaecceb9136885aa4281080.zip newlib-2d5eb17ee38b19b91eaecceb9136885aa4281080.tar.gz newlib-2d5eb17ee38b19b91eaecceb9136885aa4281080.tar.bz2 |
* libm/mathfp/sf_pow.c (powf): Change k from int to float.
Diffstat (limited to 'newlib/libm/mathfp')
-rw-r--r-- | newlib/libm/mathfp/sf_pow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libm/mathfp/sf_pow.c b/newlib/libm/mathfp/sf_pow.c index 7f40186..932e75d 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); |