[Numpy-discussion] where does numpy get its pow function?
Chris Colbert
sccolbert@gmail....
Tue Sep 29 13:14:57 CDT 2009
my powers are typically doubles
I traced the problem down to the pow function in math.h just being slow...
Thanks!
On Tue, Sep 29, 2009 at 7:53 PM, Charles R Harris
<charlesr.harris@gmail.com> wrote:
>
>
> On Tue, Sep 29, 2009 at 11:01 AM, Chris Colbert <sccolbert@gmail.com> wrote:
>>
>> are there any particular optimization flags issued when building numpy
>> aside from the following?
>>
>> -fwrapv -O2
>>
>
> Numpy optimizes small integer powers using multiplication. What sort of
> numbers are you looking at?
>
> Chuck
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
More information about the NumPy-Discussion
mailing list