<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[External for arbitrary precision decimals?]]></title><description><![CDATA[<p>The Java library has an object called BigDecimal that implements arbitrary precision decimal numbers and the arithmetic for them. It allows you to do currency calculations without having to worry about the rounding issues inherent in floating point. c# has something similar but it has a smaller digit limit, I guess to allow it to run natively. Do you know of an external that does something like that for Pd?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15923/external-for-arbitrary-precision-decimals</link><generator>RSS for Node</generator><lastBuildDate>Mon, 24 Aug 2026 13:12:06 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/15923.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Aug 2026 20:58:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to External for arbitrary precision decimals? on Sat, 22 Aug 2026 20:58:46 GMT]]></title><description><![CDATA[<p>The Java library has an object called BigDecimal that implements arbitrary precision decimal numbers and the arithmetic for them. It allows you to do currency calculations without having to worry about the rounding issues inherent in floating point. c# has something similar but it has a smaller digit limit, I guess to allow it to run natively. Do you know of an external that does something like that for Pd?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15923/external-for-arbitrary-precision-decimals</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15923/external-for-arbitrary-precision-decimals</guid><dc:creator><![CDATA[jameslo]]></dc:creator><pubDate>Sat, 22 Aug 2026 20:58:46 GMT</pubDate></item><item><title><![CDATA[Reply to External for arbitrary precision decimals? on Sat, 22 Aug 2026 21:28:10 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jameslo">@jameslo</a> No.<br />
There is only [int] and that only rounds down.<br />
You could use binary I suppose...... <a href="https://forum.pdpatchrepo.info/topic/6591/binary-numbers" rel="nofollow">https://forum.pdpatchrepo.info/topic/6591/binary-numbers</a><br />
.....and then use the binops operators but it's a bit painful.<br />
You can use [int] inside [expr] but I don't know how it behaves.....<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15923/external-for-arbitrary-precision-decimals/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15923/external-for-arbitrary-precision-decimals/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sat, 22 Aug 2026 21:28:10 GMT</pubDate></item><item><title><![CDATA[Reply to External for arbitrary precision decimals? on Mon, 24 Aug 2026 07:07:55 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jameslo">@jameslo</a> Actually binops are not so painful.<br />
My calculator is painful... the result has to be copied to the first memory for every future operation.... I have to remember that the operator is entered after both registers are filled.... and I have to keep track of the floating point in my head and move the little manual pointers so that I don't forget where I am...<br />
Otherwise it is perfect, as it should be having cost as much as a Mercedes shooting break when it was new.....</p>
<p><img src="/uploads/files/1787499897835-ime-84.jpg" alt="IME 84.jpg" class="img-responsive img-markdown" /></p>
<p>So I bought a newer one... which has the bonus of pretty curved itron tube displays.... preserving the aura of the Nixie tubes without the heat and power consumption.</p>
<p><img src="/uploads/files/1787500622251-sharp_el-8_the_first_portable_electronic_calculator.jpg" alt="Sharp_EL-8_The_First_Portable_Electronic_Calculator.jpg" class="img-responsive img-markdown" /></p>
<p>Just need an interface to connect it to Pd and all will be good.....<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15923/external-for-arbitrary-precision-decimals/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15923/external-for-arbitrary-precision-decimals/3</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Mon, 24 Aug 2026 07:07:55 GMT</pubDate></item><item><title><![CDATA[Reply to External for arbitrary precision decimals? on Sun, 23 Aug 2026 21:53:40 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> WOW!!! THOSE ARE MAGNIFICENT!!! I used to get teased at work for using an HP50g, but if I had one of those I could've told everyone off.</p>
<p>One of the search results suggested running a service in Java that exposes the BigDecimal API and all the operations (e.g. over OSC), so your idea isn't so far off, although the Arduino you'd have to use to implement the interface would probably have more computing power than both those calculators combined <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15923/external-for-arbitrary-precision-decimals/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15923/external-for-arbitrary-precision-decimals/4</guid><dc:creator><![CDATA[jameslo]]></dc:creator><pubDate>Sun, 23 Aug 2026 21:53:40 GMT</pubDate></item><item><title><![CDATA[Reply to External for arbitrary precision decimals? on Sun, 23 Aug 2026 17:30:25 GMT]]></title><description><![CDATA[<p>not sure what you need, but I could look into and add one to ELSE</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15923/external-for-arbitrary-precision-decimals/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15923/external-for-arbitrary-precision-decimals/5</guid><dc:creator><![CDATA[porres]]></dc:creator><pubDate>Sun, 23 Aug 2026 17:30:25 GMT</pubDate></item></channel></rss>