[libc-commits] [libc] af59bac - [libc] Add missing header and Windows entrypoints for tanf.
Tue Ly via libc-commits
libc-commits at lists.llvm.org
Fri Aug 12 06:34:57 PDT 2022
Author: Tue Ly
Date: 2022-08-12T09:34:33-04:00
New Revision: af59bac4ca56fe494c183e82f15d2a2caf608909
URL: https://github.com/llvm/llvm-project/commit/af59bac4ca56fe494c183e82f15d2a2caf608909
DIFF: https://github.com/llvm/llvm-project/commit/af59bac4ca56fe494c183e82f15d2a2caf608909.diff
LOG: [libc] Add missing header and Windows entrypoints for tanf.
Added:
Modified:
libc/config/windows/entrypoints.txt
libc/spec/stdc.td
Removed:
################################################################################
diff --git a/libc/config/windows/entrypoints.txt b/libc/config/windows/entrypoints.txt
index 039550f79c931..88cc1649a7866 100644
--- a/libc/config/windows/entrypoints.txt
+++ b/libc/config/windows/entrypoints.txt
@@ -196,6 +196,7 @@ set(TARGET_LIBM_ENTRYPOINTS
libc.src.math.sqrtf
libc.src.math.sqrtl
libc.src.math.tan
+ libc.src.math.tanf
libc.src.math.tanhf
libc.src.math.trunc
libc.src.math.truncf
diff --git a/libc/spec/stdc.td b/libc/spec/stdc.td
index 4986262364fb8..b9946be388c56 100644
--- a/libc/spec/stdc.td
+++ b/libc/spec/stdc.td
@@ -422,6 +422,7 @@ def StdC : StandardSpec<"stdc"> {
FunctionSpec<"sin", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
FunctionSpec<"sinf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
FunctionSpec<"tan", RetValSpec<DoubleType>, [ArgSpec<DoubleType>]>,
+ FunctionSpec<"tanf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
FunctionSpec<"expf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
FunctionSpec<"exp2f", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
More information about the libc-commits
mailing list