[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libreoffice
Subject:    Re: Different behavior of same code in Linux and Windows
From:       Laurent BP <jumbo4444 () yahoo ! fr>
Date:       2016-06-30 20:29:56
Message-ID: 1467318596939-4187654.post () n3 ! nabble ! com
[Download RAW message or body]

Hi Eike,

I've got it! You were right (as always). The problem was exactly there:

When fRemainder is weak, for instance due to floating point representation
0.2 gives 0.2000...0018 in double precision and fRemainder may tend to about
1e-15, nPartialDenom cannot represent its reciprocal in 32 bits precision.
That's why 64 bits precision is required.

Correct commit is on the way. :-)

Best regards,

Laurent BP



-----
LibreOffice 5.1.4.1
--
View this message in context: \
http://nabble.documentfoundation.org/Different-behavior-of-same-code-in-Linux-and-Windows-tp4187462p4187654.html
 Sent from the Dev mailing list archive at Nabble.com.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic