[Vm-dev] Funny Floats [WAS OpenSmalltalk current on aarch64]

Christian Kellermann ckeen at pestilenz.org
Fri Dec 6 16:46:11 UTC 2019


* ken.dickey at whidbey.com <ken.dickey at whidbey.com> [191206 17:33]:
> 
> Greetings,
> 
> OK. So current VM on aarch64.  I have an older VM in which floats work fine
> (same machine).
> 
> I am doing diffs like:
>   diff -r {kens-,oscog}vm/platforms/Cross/plugins/FloatMathPlugin
>   diff -r {kens-,oscog}vm/platforms/unix/plugins/FloatMathPlugin
>   diff -r {kens-,oscog}vm/platforms/Cross/vm
> 
> but not finding differences in float calculations.
> 
> Any hints on where to look for "1.0 = 1.1  --> true" ?? [Same w Squeak or
> Cuis]

Have you tried switching off compiler optimisations? I recall running
into similar problems with a newer gcc and turning off optimisations
has been a workaround.

-- 
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.


More information about the Vm-dev mailing list