[all-commits] [llvm/llvm-project] 46c7da: [libc][math] Fix overflow shifts for dyadic floats...
lntue via All-commits
all-commits at lists.llvm.org
Tue Jul 9 18:38:18 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 46c7da63555b133016ed54ad677bdcc05549ddc2
https://github.com/llvm/llvm-project/commit/46c7da63555b133016ed54ad677bdcc05549ddc2
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths:
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/math/generic/expm1.cpp
M libc/test/src/math/expm1_test.cpp
M libc/test/src/math/tan_test.cpp
Log Message:
-----------
[libc][math] Fix overflow shifts for dyadic floats and add skip accuracy option for expm1. (#98048)
The following errors were reported by Paul Zimmerman:
```
expm1
Running worst cases check in --rndn mode...
FAIL x=0x1.c3b93d3b25c91p+8 ref=0x1.9fb21849affd1p+651 z=0x1.9f921849affd1p+651
Running worst cases check in --rndz mode...
FAIL x=0x1.d6479eba7c971p+8 ref=0x1.62a88613629b5p+678 z=0x1.62a886135e9b5p+678
Running worst cases check in --rndu mode...
FAIL x=0x1.1f0da93354198p+7 ref=0x1.0bd73b73fc74dp+207 z=0x1.0bd73b73fc74cp+207
Running worst cases check in --rndd mode...
FAIL x=0x1.93b3037166891p+8 ref=0x1.554f3a5c4535cp+582 z=0x1.554f3a5c4535bp+582
```
```
tan
Running worst cases check in --rndn mode...
FAIL x=0x1.00452f0e0134dp-13 ref=0x1.00452f2367da9p-13 z=0x1.00452f2367daap-13
Running worst cases check in --rndz mode...
FAIL x=0x1.89f0f5241255bp-2 ref=0x1.9e997dd861117p-2 z=0x1.9e997dd861118p-2
FAIL x=0x1.045457ae3994p+5 ref=0x1.0c06941768ef3p+1 z=0x1.0c06941768ef4p+1
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list