[PD] Some more float weirdness/fun

Mathieu Bouchard matju at artengine.ca
Sun Mar 11 18:23:15 CET 2012


Le 2012-03-10 à 16:31:00, Charles Henry a écrit :

> How about an abstraction that uses <= against 2xepsilon*|input|?  That 
> would be a reliable automatic way to ignore single-bit rounding errors.

Don't you wish rounding errors would be at most single-bit.

But as you compose more operations together, error can accumulate and/or 
amplify.

This is why no-one uses a definition of == with a hardcoded epsilon in it, 
in any programming language that I ever heard of.

  ______________________________________________________________________
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC


More information about the Pd-list mailing list