<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> <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 class="HOEnZb"><font color="#888888"><br>
<br>
Levente</font></span><br><br>
<br></blockquote></div><br></div></div>