[libc-commits] [libc] [libc][math][c23] Add scalbln{, f, l, f128} C23 math functions (PR #102219)

via libc-commits libc-commits at lists.llvm.org
Tue Aug 6 14:22:08 PDT 2024


================
@@ -100,6 +100,9 @@ def LLVMLibcExt : StandardSpec<"llvm_libc_ext"> {
 
           FunctionSpec<"powi", RetValSpec<DoubleType>, [ArgSpec<DoubleType>, ArgSpec<IntType>]>,
           FunctionSpec<"powif", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<IntType>]>,
+
+          GuardedFunctionSpec<"scalblnf128", RetValSpec<Float128Type>, [ArgSpec<Float128Type>, ArgSpec<LongType>], "LIBC_TYPES_HAS_FLOAT128">,
+
----------------
overmighty wrote:

Should be moved to libc/spec/stdc.td.

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


More information about the libc-commits mailing list