This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: pow(double, int)
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: Re: pow(double, int)
- From: Benjamin Kosnik <bkoz at cygnus dot com>
- Date: Wed, 5 Apr 2000 02:05:39 -0700 (PDT)
> I resurrected an pow(*, int) code for use in libstdc++, unless someone
> has an even faster one lying around. As seen from the benchmark it
> improves
> performance, especially for small exponents, but also gives 2x for large
> exponents.
great! Gaby said ok, so I checked it in.
> I was confused by the headers; `shadow/bits/std_cmath.h' is meant
> to become a _replacement_ for `bits/std_cmath.h', right?
Your patch should be fine. Nathan, care to comment?
-benjamin