[all-commits] [llvm/llvm-project] 3604c2: [libc][math] implement `signbit` and math macro un...
Akiel via All-commits
all-commits at lists.llvm.org
Sat Jul 13 20:01:58 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3604c23dfc8edb00aae72456ef3ff765eb795db5
https://github.com/llvm/llvm-project/commit/3604c23dfc8edb00aae72456ef3ff765eb795db5
Author: Akiel <56521583+akielaries at users.noreply.github.com>
Date: 2024-07-13 (Sat, 13 Jul 2024)
Changed paths:
M libc/include/llvm-libc-macros/math-function-macros.h
M libc/test/include/CMakeLists.txt
A libc/test/include/IsFiniteTest.h
A libc/test/include/IsInfTest.h
A libc/test/include/IsNanTest.h
A libc/test/include/SignbitTest.h
A libc/test/include/isfinite_test.c
A libc/test/include/isfinite_test.cpp
A libc/test/include/isfinitef_test.cpp
A libc/test/include/isfinitel_test.cpp
A libc/test/include/isinf_test.c
A libc/test/include/isinf_test.cpp
A libc/test/include/isinff_test.cpp
A libc/test/include/isinfl_test.cpp
A libc/test/include/isnan_test.c
A libc/test/include/isnan_test.cpp
A libc/test/include/isnanf_test.cpp
A libc/test/include/isnanl_test.cpp
A libc/test/include/signbit_test.c
A libc/test/include/signbit_test.cpp
A libc/test/include/signbitf_test.cpp
A libc/test/include/signbitl_test.cpp
Log Message:
-----------
[libc][math] implement `signbit` and math macro unit tests (#97791)
This PR resolves #96322 and implements the `signbit` macro under a new
header `generic-math-macros.h`. This also removed the `TODO` in
`math-macros.h` and moves `isfinite`, `isinf`, and `isnan` to the same
generic maths header. Finally, a test file
`generic-math-macros_test.cpp` that adds coverage to the above 4 macros.
Fixes #96322.
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