bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test-math.c:89:3: runtime error: division by zero


From: Bruno Haible
Subject: Re: test-math.c:89:3: runtime error: division by zero
Date: Sun, 29 Mar 2020 18:24:49 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-174-generic; KDE/5.18.0; x86_64; ; )

Jeffrey Walton wrote:
> This showed up during acosf testing with UBsan:
> 
> test-math.c:89:3: runtime error: division by zero

The code performs a division 1.0 / 0.0. This is a valid operation in
IEEE 854. It must produce a HUGE_VAL.

Surely you can tell the sanitizer to ignore this?

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]