diff mbox series

[v2,11/25] math: Fix spurious-divbyzero flag name

Message ID 20241204163949.1408676-12-adhemerval.zanella@linaro.org
State New
Headers show
Series Add remaining CORE-MATH binary32 implementations to libm | expand

Commit Message

Adhemerval Zanella Netto Dec. 4, 2024, 4:37 p.m. UTC
---
 math/gen-libm-test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joseph Myers Dec. 4, 2024, 5:15 p.m. UTC | #1
On Wed, 4 Dec 2024, Adhemerval Zanella wrote:

> -EXC_OK = {'divbyzero': 'DIVBYZERO_EXCEPTION_OK',
> +EXC_OK = {'divbyzero': 'DIVIDE_BY_ZERO_EXCEPTION_OK',

OK.
diff mbox series

Patch

diff --git a/math/gen-libm-test.py b/math/gen-libm-test.py
index 397dbd3259..1630fc51a5 100755
--- a/math/gen-libm-test.py
+++ b/math/gen-libm-test.py
@@ -103,7 +103,7 @@  EXC_EXPECTED = {'divbyzero': 'DIVBYZERO_EXCEPTION',
                 'invalid': 'INVALID_EXCEPTION',
                 'overflow': 'OVERFLOW_EXCEPTION',
                 'underflow': 'UNDERFLOW_EXCEPTION'}
-EXC_OK = {'divbyzero': 'DIVBYZERO_EXCEPTION_OK',
+EXC_OK = {'divbyzero': 'DIVIDE_BY_ZERO_EXCEPTION_OK',
           'inexact': '0',
           'invalid': 'INVALID_EXCEPTION_OK',
           'overflow': 'OVERFLOW_EXCEPTION_OK',