* libm/mathfp/sf_pow.c (powf): Change k from int to float.

This commit is contained in:
Thomas Fitzsimmons 2002-06-28 15:32:45 +00:00
parent c1a3171f2d
commit 2d5eb17ee3
2 changed files with 6 additions and 2 deletions

View 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.

View 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);