Add testing macros for errno and floating point exceptions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D121235
[libc] Add testing macros for errno and floating point exceptions. ClosedPublic Authored by lntue on Mar 8 2022, 10:38 AM.
Details Summary Add testing macros for errno and floating point exceptions.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 8 2022, 10:38 AM
This revision is now accepted and ready to land.Mar 8 2022, 11:37 AM
Closed by commit rGffb410d3f9b7: [libc] Add testing macros for errno and floating point exceptions. (authored by lntue). · Explain WhyMar 8 2022, 12:50 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 413916 libc/test/src/math/RoundToIntegerTest.h
libc/test/src/math/cosf_test.cpp
libc/test/src/math/exp2f_test.cpp
libc/test/src/math/expf_test.cpp
libc/test/src/math/expm1f_test.cpp
libc/test/src/math/sincosf_test.cpp
libc/test/src/math/sinf_test.cpp
libc/utils/UnitTest/FPMatcher.h
|
why is the do/while(0) necessary?