<div dir="ltr"><div>I think it would be super nice if PD could have a 32 bit integer datatype. <br></div><div>(I realize there would be a lot of underlying complexity)<br></div><div><br></div><ul><li>Some quantities are naturally reals/floats <br>(voltages, instantaneous sound pressure levels)<br><br></li><li>Other quantities are naturally integers <br>(counters, memory addresses). </li></ul><div><br></div><div>IMO trying to force single-precision floats to represent numbers</div><div>which the programmer knows will always be integers, is like<br></div><div> banging a square peg into a round hole.</div><div><br></div><div>A much simpler approach would be to allow for an integer data type.</div><div><br></div><div>Yes, then you have to solve the problem of how you handle conversions</div><div>(connect an integer outlet to a float inlet, etc). <br></div><div><br></div><div>It would probably require a major architecture change. <br></div><div><br></div><div>I just want to throw this out there...<br></div><div><br></div><div>Perl has something Larry Wall calls "<span class="gmail-st">transmogrification</span>".</div><div>In Perl, there is just a single Scalar data type, which can be</div><div>internally represented as a string, float, or integer. <br></div><div><br></div><div>The Perl interpreter tries to infer from the context whether</div><div>to represent the value as an integer or a float. <br></div><div><br></div><div>Just something to consider...</div><div><br></div><div>BH<br></div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>--<br>William Huston:  <a href="mailto:WilliamAHuston@gmail.com" target="_blank">WilliamAHuston@gmail.com</a><br>Binghamton NY<br><div style="text-align:center"><div style="text-align:center"><span></span><br><span><b>Public Service Mapping / Videography / Research / Education / Safety Advocacy</b></span><br><span></span><a href="http://WilliamAHuston.blogspot.com" target="_blank">Blog</a> -- <a href="http://facebook.com/billhuston" target="_blank">Facebook</a> -- <a href="http://twitter.com/WilliamAHuston" target="_blank">Twitter  </a><span><span><span>-- <a href="https://www.youtube.com/channel/UCGijK1amWOLglT3YeTyEBNQ?sub_congfirmation=1" target="_blank">Youtube</a></span></span></span><b> -- <a href="https://billhustonpodcast.blogspot.com/" target="_blank">Podcast Blog</a><br></b></div><div style="text-align:center"><b>Document collections</b>: <a href="http://TinyURL.com/VirtualPipelines" target="_blank">VirtualPipelines</a> -- <a href="http://bit.ly/BHDCSDimockArchive" target="_blank">BHDCSDimockArchive</a><br><span><span><b>Please support my work! -- </b><a href="http://TinyURL.com/DonateToBillHuston" target="_blank">TinyURL.com/DonateToBillHuston</a><br></span></span></div><div style="text-align:center"><span><span><br></span></span></div><div style="text-align:center"><span><span><b><img src="https://4.bp.blogspot.com/-QjAlYXBdfk0/XA7eTMshJPI/AAAAAAAAIGQ/hr-t_w9fu-MCMWja84YnMBJIry0oWiWTACLcBGAs/s600/BH%2BTerra%2BVigilate%2B%2523BT%2Bself%2Bportrait%2Btriptich1.jpg" width="420" height="73"></b></span></span></div><span><span></span></span></div><span><br></span></div><div><br></div></div></div></div></div></div></div></div></div></span></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 5, 2020 at 6:29 PM Sebastian Shader via Pd-list <<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="color:black;font:10pt arial">Is the reason that the "offset" inlet isn't a signal inlet mainly for performance in most use-cases?
<div>Because if it were it seems like users could give 32-bit floats to both inlets, and have them added as doubles internally?<br>
<br>
-Seb</div>
</div>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">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/listinfo/pd-list</a><br>
</blockquote></div>