This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pow10 and exp10


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Yaakov (Cygwin Ports) on 5/16/2007 8:05 PM:
> Yaakov (Cygwin Ports) wrote:
>> glibc <math.h> provides the following extensions for "10 raised to the
>> power of x":
> 
>> double pow10(double x);
>> float pow10f(float x);
>> double exp10(double x);
>> float exp10f(float x);
> 
>> I'm attaching a patch and several new source files to implement these.
> 
> Eric, while you're working on math.h, could you look at this please?

The patches look okay to me.  However, since the implementation is so
trivial, shouldn't you just provide a single version in libm/common rather
than identical versions in libm/math and libm/mathfp?  That's Jeff's call.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGTFBR84KuGfSFAYARAtPNAKCR1GnDDHYHEdlMKVeniKKbkeBheACeKdyn
fcFogFXnmXK8LCUFMSppeu4=
=dncG
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]