[PD] weighted average (or ?)
matju at artengine.ca
Wed Jun 16 20:08:05 CEST 2010
On Wed, 16 Jun 2010, Funs Seelen wrote:
> x / y or x * (1 / y) What's the difference? Funs
There is a slight difference. It should stay well below a millionth of the
result (0,0001 %) but I haven't made a theoretical measurement so I can't
guarantee it. It's due to rounding numbers. If y is a power of two (2, 4,
8, 16, ...) then there is no difference at all. For other values of y, the
amount of error depends on x in a funny pattern.
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
More information about the Pd-list