[libc-commits] [libc] [libc][math] Implement fpclassify macro. (PR #109519)

Shourya Goel via libc-commits libc-commits at lists.llvm.org
Sat Sep 21 07:25:04 PDT 2024


================
@@ -14,5 +14,6 @@
 #define isnan(x) __builtin_isnan(x)
 #define signbit(x) __builtin_signbit(x)
 #define iszero(x) (x == 0)
+#define fpclassify(a, b, c, d, e, f) __builtin_fpclassify(a, b, c, d, e, f)
----------------
Sh0g0-1758 wrote:

Refactored function definition and tests. 

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


More information about the libc-commits mailing list