Thanks Antoine :)

It was the line "it's the way integer division by zero, which is undefined behavior, manifests on the particular implementation" that led me to find the flaw (one of my indices was out-by-one).

Interesting it's called "Floating point exception" when it's an integer operation that causes it, but as the person who posted that rightly said, it's a misnomer.

Cheers,
Ed
 
_-_-_-_-_-_-_-^-_-_-_-_-_-_-_

For Lone Shark releases, Pure Data software and published Research, go to http://sharktracks.co.uk 


On Sunday, 21 January 2018, 23:38, Antoine Villeret <antoine.villeret@gmail.com> wrote:


hi Ed, 

Dividing by zero could trig such an exception.

best

a

--
do it yourself                      
http://antoine.villeret.free.fr

2018-01-21 23:53 GMT+01:00 Ed Kelly via Pd-dev <pd-dev@lists.iem.at>:
I'm working on a monster of a sequential polyrhythm extern.

It crashes, giving "Floating point exception" in the terminal. Can anyone tell me what this means, and what I should be looking for in the code, to fix?

A first feeler for why it does this!
Ed
 
_-_-_-_-_-_-_-^-_-_-_-_-_-_-_

For Lone Shark releases, Pure Data software and published Research, go to http://sharktracks.co.uk 

______________________________ _________________
Pd-dev mailing list
Pd-dev@lists.iem.at
https://lists.puredata.info/ listinfo/pd-dev