[SciPy-user] power(10,2) accuracy ?
Nils Wagner
nwagner at iam.uni-stuttgart.de
Fri Apr 20 16:10:29 EDT 2007
On Fri, 20 Apr 2007 22:02:18 +0200
Stef Mientki <s.mientki at ru.nl> wrote:
> Is this good behavior ?
>
> >>> power(10,2)
> 99
> >>> power(10,3)
> 1000
> >>> power(10.0,2.0)
> 100.0
>
> thanks,
> Stef Mientki
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>>> from scipy import *
>>> power(10,2)
100
>>> power(10,3)
1000
>>> power(10,2.)
100.0
>>> import scipy
>>> scipy.__version__
'0.5.3.dev2931'
More information about the SciPy-User
mailing list