[libc-commits] [libc] [libc] Provide isnan, isnanf and isnanl functions (PR #96008)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Tue Jun 18 18:03:55 PDT 2024
================
@@ -17,4 +17,6 @@
%%public_api()
+#define isnan(x) __builtin_isnan(x)
----------------
jhuber6 wrote:
Do we expect every consumer of this header to have this builtin? We could possible do `if defined(__has_builtin) && __has_builtin(__builtin_isnan))` or omething.
https://github.com/llvm/llvm-project/pull/96008
More information about the libc-commits
mailing list