[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] We need a solution for cross-platform bit-identical floating point. (#315)

Eliot Miranda notifications at github.com
Mon Dec 3 22:40:25 UTC 2018


The FloatMathPlugin provided cross-platform bit-identical floating point, needed for applications such as OpenCroquet/Qwaq/terf.  The plugin depends on Sun's fdlibm which is effectively obsolete.  There are better solutions; see for an overview
http://christian-seiler.de/projekte/fpmath/
and for a solution (provided this is lesser GPL, which a cursory reading suggests it is)
https://www.mpfr.org

If taking this approach, instead of needing a FloatMathPlugin we could perhaps arrange that the VM provides cross-platform bit-identical floating point by default, or that the VM is compilable with some flags that result in a VM whose floating point primitives are cross-platform bit-identical.  Then one wouldn't have to use an interface to the plugin, with all the headaches that providing support for SmallFloat64 now in introduces, along with the slowness of that plugin interface. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/315
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20181203/dfc486f4/attachment-0001.html>


More information about the Vm-dev mailing list