[SciPy-user] power(10,2) accuracy ?

Stef Mientki s.mientki@ru...
Fri Apr 20 15:37:20 CDT 2007



Robert Kern wrote:
> Stef Mientki wrote:
>   
>> Is this good behavior ?
>>
>>  >>> power(10,2)
>> 99
>>  >>> power(10,3)
>> 1000
>>  >>> power(10.0,2.0)
>> 100.0
>>     
>
> Please always tell us what version of numpy you are using and on what platform
> when reporting possible bugs. power(10, 2) gives me 100 with a recent SVN
> checkout on OS X.
>
>   
Sorry, I'm not used to tell version numbers.
Numpy: 1.0.3.dev3716
WinXP, SP1

cheers,
Stef


More information about the SciPy-user mailing list