Since the integrator patch basically accumulates increasingly large (or small) numbers, is it necessary to to check if the value exceeds a particular threshold, and reset it if so?
The integrator patch is backed by a double-precision floating point value, so you don't need to worry about hitting NaN/Inf until around 1e +308 or so -- see http://softpixel.com/~cwright/programming/datatypes.c.php . However, at such large values you loose lots of low-value precision (i.e. 1e300 + 1.0 == 1e300), so depending on the kind of data you're working with that might become a problem.
To whip out some fun nerd math:If you were to add 1.0 per second, it would take 9.99999 x 10 ^ 199 seconds to get to 1e200. Currently the universe is about 4.33276594 × 10^17 seconds old, so hitting this limit would take about 2.3079922 × 10^182 times longer than the universe has existed. That's pretty long. Even if you were to all 1000.0 units per second, you'd still have essentially forever :) (again, disregarding the low-value roundoff stuff from floating point math)
-- [ christopher wright ] [EMAIL PROTECTED] http://kineme.net/
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

