[libc-commits] [libc] [libc] Provide isnan, isnanf and isnanl functions (PR #96008)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Tue Jun 18 16:50:36 PDT 2024
================
@@ -17,4 +17,6 @@
%%public_api()
+#define isnan(x) __builtin_isnan(x)
----------------
michaelrj-google wrote:
If possible I'd like to leave this in `math-macros` but if it needs to be moved out then I'd say it should be defined in `isnan-macro.h` inside `include/llvm-libc-macros/`
https://github.com/llvm/llvm-project/pull/96008
More information about the libc-commits
mailing list