[PD] What exactly is a "stack overflow" ?

Mathieu Bouchard matju at artengine.ca
Thu Dec 20 04:41:26 CET 2007


On Thu, 20 Dec 2007, Frank Barknecht wrote:

> as an abstraction called: [funtil] It will bang 1000000000000 times 
> unless stopped, which is more bangs for the bang than most people would 
> want.

no, 1000000000000 as a float is non-representable and will be 
rounded to the closest number within float32, which is 999999995904. Then 
it will cause an overflow, which will transform the value to -727384064, 
which will cause 3567583232 iterations.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada


More information about the Pd-list mailing list