Hi Milton, On Saturday, 2017-12-02 02:47:03 -0500, Milton Vandersloot wrote:
> The issue seems to be (again) floating point precision. Indeed, I've compiled > LibreOffice with FMA (fused multiply-add) instructions, if I disable them, > i.e. passing -ffp-contract=off to GCC, then the tests succeed. Note that FMA > has slightly different floating point precision than ordinary plus and mult > [0, 1]. From what I understood by browsing shortly gcc enables this by default for -std=gnu* and it can be unset by #pragma STDC FP_CONTRACT OFF https://stackoverflow.com/questions/15933100/how-to-use-fused-multiply-add-fma-instructions-with-sse-avx#15933677 Could you try if adding the pragma to include/sal/config.h helps? Thanks Eike -- LibreOffice Calc developer. Number formatter stricken i18n transpositionizer. GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A Care about Free Software, support the FSFE https://fsfe.org/support/?erack
signature.asc
Description: PGP signature
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice