On Thu, Feb 16, 2012 at 10:20 AM, Pauli Virtanen <p...@iki.fi> wrote:

> Hi,
>
> 16.02.2012 18:00, Nathaniel Smith kirjoitti:
> [clip]
> > I agree, but the behavior is still surprising -- people reasonably
> > expect something like svd to be deterministic. So there's probably a
> > doc bug for alerting people that their reasonable expectation is, in
> > fact, wrong :-).
>
> The problem here is that these warnings should in principle appear in
> the documentation of every numerical algorithm that contains branches
> chosen on the basis of floating point data. For example, optimization
> algorithms --- they terminate after a tolerance is satisfied, and so the
> results can contain similar quasi-random error much larger than the
> rounding error, tol > |err| >> eps.
>
> Floating point sucks, it's full of gotchas for all ages :(
>
>
:). I believe that was one of the reasons that Von Neumann thought everyone
should work with integers and scaling factors. But he lost that battle to
the sheer convenience of floating point.

Chuck
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to