[Libreoffice-commits] core.git: sc/qa

Eike Rathke erack at redhat.com
Wed Aug 12 08:36:09 PDT 2015


Hi Stephan,

On Wednesday, 2015-08-12 14:42:18 +0200, Stephan Bergmann wrote:

> The new test code triggers a division by zero now (as seen with
> -fsanitize=undefined):

First, that shouldn't matter as it produces a double INF value.

Second, we might want to either use the div() function there to get the
#DIV/0 error instead of a general floating point error, or explicitly
check fValE for 0 and push errDivisionByZero and bail out if so.

Thanks for heads-up

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key "ID" 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150812/6a4d6447/attachment.sig>


More information about the LibreOffice mailing list