<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">It's happening because that number overflows the capacity of a 32-bit int (2^31-1) when cast from the float you send. What it does when you overflow an int when casting from float is undefined in C, I'm pretty sure, but here it just sets it to the lowest possible value. You'll probably get the same result if you run the large float through an [int].</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 6, 2016 at 1:35 PM, Liam Goodacre <span dir="ltr"><<a href="mailto:liamg_uw@hotmail.com" target="_blank">liamg_uw@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_-9055364494412113154divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>The help file for [text set] instructs us to use large numbersĀ for the second inlet
<span>(ie. 1e+006) </span>to append a line of text. But for numbers above 1e+010, it seems to stop working, giving the error message:</p>
<p><br>
</p>
<p><span>text set: line number <a href="tel:%28-2147483648" value="+12147483648" target="_blank">(-2147483648</a>) < 0</span></p>
<p><span><br>
</span></p>
<p><span>I wouldn't call this much of a problem as I don't imagine that anyone needs to append more than 10,000,000,000</span> lines of text. But I am curious, why would this large number be interpreted as a negative?<br>
</p>
</div>
</div>

<br>______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
<br></blockquote></div><br></div>