This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: pow(double, int)




> 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

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