OSDN Git Service
(root)
/
pf3gnuchains
/
sourceware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7104548
)
* libm/mathfp/sf_pow.c (powf): Change k from int to float.
author
fitzsim
<fitzsim>
Fri, 28 Jun 2002 15:32:44 +0000
(15:32 +0000)
committer
fitzsim
<fitzsim>
Fri, 28 Jun 2002 15:32:44 +0000
(15:32 +0000)
newlib/ChangeLog
patch
|
blob
|
history
newlib/libm/mathfp/sf_pow.c
patch
|
blob
|
history
diff --git
a/newlib/ChangeLog
b/newlib/ChangeLog
index
e057f2e
..
77de28b
100644
(file)
--- 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
7f40186
..
932e75d
100644
(file)
--- 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);