summaryrefslogtreecommitdiff
path: root/libc/src/math/generic/iscanonical.cpp
AgeCommit message (Collapse)Author
2024-10-02[libc][math] undef `iscanonical` before defining it using ↵Shourya Goel
`LLVM_LIBC_FUNCTION` macro (#110865) It appears that #110565 fails because the macro definition of iscanonical is included somewhere. This PR ensures that the macro expands correctly and also removes the static_cast because implicit conversion from bool to int is defined in C++.
2024-10-02[libc][math] Implement `iscanonical[f|l]` as a libc math function (#110565)Shourya Goel
This PR implements the iscanonical function as part of the libc math library. The addition of this function is crucial for completing the implementation of remaining math macros, as referenced in #109201