<p>also, in e.g. CogObjectRepresentationFor64BitSpur>>genFloatComparison:orIntegerComparison:invert:boxed: or anywhere else the issue comes up it would be good for non-experts to extend the comment, so that instead of just</p>
<pre><code>"If floatRcvr == (double) intArg then use compareInt(intArg,(int64) floatRcvr)"
</code></pre>
<p>it says<br>
"If floatRcvr == (double) intArg then use compareInt(intArg,(int64) floatRcvr).<br>
see <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="483139990" data-permission-text="Issue title is private" data-url="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/417" data-hovercard-type="issue" data-hovercard-url="/OpenSmalltalk/opensmalltalk-vm/issues/417/hovercard" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/417">#417</a>"<br>
or<br>
"If floatRcvr == (double) intArg then use compareInt(intArg,(int64) floatRcvr).<br>
because in 64-bits SmallInteger has more significant bits (60) than Float (53)"</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/417?email_source=notifications&email_token=AIJPEW4YBDBZLWFQ4HOURA3QGRMJBA5CNFSM4IN66INKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5F47WA#issuecomment-525062104">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW2L6FMJM2WONTX5RWDQGRMJBANCNFSM4IN66INA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AIJPEW7B6LZQCQLRMISHPR3QGRMJBA5CNFSM4IN66INKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5F47WA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/417?email_source=notifications\u0026email_token=AIJPEW4YBDBZLWFQ4HOURA3QGRMJBA5CNFSM4IN66INKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5F47WA#issuecomment-525062104",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/417?email_source=notifications\u0026email_token=AIJPEW4YBDBZLWFQ4HOURA3QGRMJBA5CNFSM4IN66INKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5F47WA#issuecomment-525062104",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>