Commit Graph

4 Commits

Author SHA1 Message Date
Jeff Johnston cebe43dd76 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
* libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
        any positive power results in 0.
        * libm/mathfp/sf_pow.c (powf): Ditto.
2005-09-01 17:53:02 +00:00
Thomas Fitzsimmons 2d5eb17ee3 * libm/mathfp/sf_pow.c (powf): Change k from int to float. 2002-06-28 15:32:45 +00:00
Thomas Fitzsimmons 54be629f41 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
exponent_is_even_int variable.  Handle case where x is
	negative, and y is an odd integer.
	* libm/mathfp/sf_pow.c (powf): Likewise.
2002-06-27 20:41:49 +00:00
Christopher Faylor 8a0efa53e4 import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00