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

Eliot Miranda notifications at github.com
Fri Jan 4 16:00:24 UTC 2019


Hi Nicolas,

On Fri, Jan 4, 2019 at 7:39 AM Nicolas Cellier <notifications at github.com>
wrote:

> Now that I'm fairly confident that my patches are OK, I suggest this:
>
>    - we keep fdlibm for backward compatibility;
>    - we maintain our own patched version;
>    - we don't add any new feature nor try to patch anything but correct
>    compilation of existing source; this should generate very low level of
>    activity (only if C standard change and break another thing);
>    - for this we clone https://github.com/nicolas-cellier-aka-nice/fdlibm/
>    on opensmalltalk so as to not depend on an exotic repository, and replace
>    the fdlibm files by using a git submodule;
>    - we start an alternate FloatMathPlugin implementation based on
>    another library (I suggest CRLibm but other suggestions are welcome).
>
> Does it sound OK?
>

Sounds perfect to me.  I would add that once we have an alternate
FloatMathPlugin implementation based on another library we can do the
performance analysis and if it is fast enough we should implement normal
floating point arithmetic with the same support and get rid of
FloatMathPlugin altogether, having bit-identical floating point provided by
the normal primitives.

_,,,^..^,,,_
best, Eliot


-- 
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#issuecomment-451485149
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20190104/93c647e6/attachment.html>


More information about the Vm-dev mailing list