[libc] Add missing header and Windows entrypoints for tanf.

This commit is contained in:
Tue Ly
2022-08-12 09:33:44 -04:00
parent 8a17e74ca9
commit af59bac4ca
2 changed files with 2 additions and 0 deletions

View File

@@ -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

View File

@@ -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>]>,