[libc-commits] [libc] [libc][math] undef `iscanonical` before defining it using `LLVM_LIBC_FUNCTION` macro (PR #110865)

via libc-commits libc-commits at lists.llvm.org
Wed Oct 2 09:05:45 PDT 2024


overmighty wrote:

> removes the static_assert since conversion from bool to int is well defined in C/C++.

Nit: removes the `static_cast` because implicit conversion from `bool` to `int` is defined in C++.

https://github.com/llvm/llvm-project/pull/110865


More information about the libc-commits mailing list