<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2014-12-04 19:22 GMT+01:00 Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Hi Nicolas,</div><span class=""><div><br>On Dec 4, 2014, at 1:51 AM, Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2014-12-04 0:08 GMT+01:00 Levente Uzonyi <span dir="ltr">&lt;<a href="mailto:leves@elte.hu" target="_blank">leves@elte.hu</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 1 Dec 2014, Eliot Miranda wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was assuming that any of add or subtract positive or negative zero, or multiply or divide by 1.0 would do the trick.  Why wouldn&#39;t this be<br>
adequate?<br>
</blockquote>
<br>
I think &quot;x + 0.0&quot; is adequate, but unnatural. It reminds me of javascript&#39;s typecast hacks.<br>
<br></blockquote><div><br></div><div>No, it&#39;s not, it would transform a negative zero into a positive one...<br></div><div>Maybe x - 0.0<br></div></div></div></div></div></blockquote><div><br></div></span>What does x * 1.0 do to negative zero?<span class=""><div><br></div></span></div></blockquote><div><br>x * 1.0 is perfectly OK<br><br></div><div>You can test -0.0 * 1.0 in a classic COG -&gt; -0.0 and -0.0 + 0.0 -&gt; 0.0<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span class=""><div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ah, I see.  Hang on.  There is no support for SmallFloat64 on 32-bit Spur.<br>
Only in a 64-bit image/on a 64-bit Spur VM will you be able to create<br>
instances of SmallFloat64.  And so far I only have this working in the VM<br>
simulator.  I&#39;ve yet to try and create a real VM, and even then it will<br>
only be a Stack VM.<br>
</blockquote>
<br>
Wouldn&#39;t it be possible to support them in a 32-bit VM? Aren&#39;t object headers the same in both VMs? Or is it because of the difference in alignment?<span><font color="#888888"><br>
<br>
Levente</font></span><br><br>
<br></blockquote></div><br></div></div>
</div></blockquote><blockquote type="cite"><div><span></span><br></div></blockquote></div></span></div><br><br>
<br></blockquote></div><br></div></div>