[Numpy-discussion] double-precision sqrt?
Adam Ginsburg
adam.ginsburg@colorado....
Sat Oct 17 13:17:29 CDT 2009
My code is actually wrong.... but I still have the problem I've
identified that sqrt is leading to precision errors. Sorry about the
earlier mistake.
Adam
On Sat, Oct 17, 2009 at 12:08 PM, Adam Ginsburg
<adam.ginsburg@colorado.edu> wrote:
>
> sqrt(float64(1.034324523462345))
> # 1.0170174646791199
> f=lambda x: x**2-float64(1.034324523462345)**2
should be
f=lambda x: x**2-float64(1.034324523462345)
so the code I sent was not a legitimate test.
More information about the NumPy-Discussion
mailing list