* libm/mathfp/sf_pow.c (powf): Change k from int to float.
This commit is contained in:
parent
c1a3171f2d
commit
2d5eb17ee3
@ -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>
|
2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
* libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
|
* libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
float powf (float x, float y)
|
float powf (float x, float y)
|
||||||
{
|
{
|
||||||
float d, t, r = 1.0;
|
float d, k, t, r = 1.0;
|
||||||
int n, k, sign = 0, exponent_is_even_int = 0;
|
int n, sign, exponent_is_even_int = 0;
|
||||||
__int32_t px;
|
__int32_t px;
|
||||||
|
|
||||||
GET_FLOAT_WORD (px, x);
|
GET_FLOAT_WORD (px, x);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user