<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div>Thanks Antoine :)</div><div id="yui_3_16_0_ym19_1_1516700093831_6233"><br></div><div id="yui_3_16_0_ym19_1_1516700093831_6137" dir="ltr">It was the line "<span id="yui_3_16_0_ym19_1_1516700093831_6107">it's the way integer division by zero, which is <b id="yui_3_16_0_ym19_1_1516700093831_6108">undefined behavior</b>, manifests on the particular implementation" that led me to find the flaw (one of my indices was out-by-one).</span></div><div id="yui_3_16_0_ym19_1_1516700093831_6164" dir="ltr"><br><span id="yui_3_16_0_ym19_1_1516700093831_6107"></span></div><div id="yui_3_16_0_ym19_1_1516700093831_6225" dir="ltr"><span id="yui_3_16_0_ym19_1_1516700093831_6107">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.</span></div><div id="yui_3_16_0_ym19_1_1516700093831_6227" dir="ltr"><br><span id="yui_3_16_0_ym19_1_1516700093831_6107"></span></div><div id="yui_3_16_0_ym19_1_1516700093831_6229" dir="ltr"><span id="yui_3_16_0_ym19_1_1516700093831_6107">Cheers,</span></div><div dir="ltr"><span id="yui_3_16_0_ym19_1_1516700093831_6107">Ed<br></span></div><div id="yui_3_16_0_ym19_1_1516700093831_6102"><span></span></div><div id="yui_3_16_0_ym19_1_1516700093831_6101"> </div><div id="yui_3_16_0_ym19_1_1516700093831_6036" class="signature">_-_-_-_-_-_-_-^-_-_-_-_-_-_-_<br><br>For <b id="yui_3_16_0_ym19_1_1516700093831_6035">Lone Shark </b>releases, <b>Pure Data </b>software and published <b>Research</b>, go to <a rel="nofollow" target="_blank" href="http://sharktracks.co.uk/">http://sharktracks.co.uk</a> </div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Sunday, 21 January 2018, 23:38, Antoine Villeret <antoine.villeret@gmail.com> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div id="yiv1980140300"><div><div dir="ltr">hi Ed, <div><br clear="none"></div><div>Dividing by zero could trig such an exception.<br clear="none"></div><div>see <a rel="nofollow" shape="rect" target="_blank" href="https://stackoverflow.com/questions/4236853/floating-point-exception-c-why-and-what-is-it">https://stackoverflow.com/questions/4236853/floating-point-exception-c-why-and-what-is-it</a></div><div><br clear="none"></div><div>best</div><div><br clear="none"></div><div>a</div></div><div class="yiv1980140300gmail_extra"><br clear="all"><div><div class="yiv1980140300gmail_signature">--<br clear="none">do it yourself                       <br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://antoine.villeret.free.fr/">http://antoine.villeret.free.fr</a><br clear="none"></div></div>
<br clear="none"><div class="yiv1980140300gmail_quote">2018-01-21 23:53 GMT+01:00 Ed Kelly via Pd-dev <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:pd-dev@lists.iem.at" target="_blank" href="mailto:pd-dev@lists.iem.at">pd-dev@lists.iem.at</a>></span>:<br clear="none"><blockquote class="yiv1980140300gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv1980140300yqt6241752405" id="yiv1980140300yqt59828"><div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div>I'm working on a monster of a sequential polyrhythm extern.</div><div id="yiv1980140300m_-24884661812272795yui_3_16_0_ym19_1_1516574986373_4912"><br clear="none"></div><div dir="ltr">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?</div><div dir="ltr"><br clear="none"></div><div dir="ltr">A first feeler for why it does this!</div><div dir="ltr">Ed<br clear="none"></div><div><span></span></div><div> </div><div class="yiv1980140300m_-24884661812272795signature">_-_-_-_-_-_-_-^-_-_-_-_-_-_-_<br clear="none"><br clear="none">For <b>Lone Shark </b>releases, <b>Pure Data </b>software and published <b>Research</b>, go to <a rel="nofollow" shape="rect" target="_blank" href="http://sharktracks.co.uk/">http://sharktracks.co.uk</a> </div></div></div></div><br clear="none">______________________________ _________________<br clear="none">
Pd-dev mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:Pd-dev@lists.iem.at" target="_blank" href="mailto:Pd-dev@lists.iem.at">Pd-dev@lists.iem.at</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://lists.puredata.info/listinfo/pd-dev">https://lists.puredata.info/ listinfo/pd-dev</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div>  </div> </div>  </div></div></body></html>