Skip to content

Commit 66d92ef

Browse files
author
Siva Chandra Reddy
committed
[libc] Add trigonometric and exponential functions to the windows config.
1 parent 44c83ec commit 66d92ef

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

libc/config/windows/entrypoints.txt

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,22 @@ set(TARGET_LIBC_ENTRYPOINTS
1616
libc.src.ctype.toascii
1717
libc.src.ctype.tolower
1818
libc.src.ctype.toupper
19+
20+
# errno.h entrypoints
21+
libc.src.errno.__errno_location
22+
1923
# string.h entrypoints
2024
libc.src.string.bzero
2125
libc.src.string.memchr
2226
libc.src.string.memcmp
2327
libc.src.string.memcpy
2428
libc.src.string.memmove
25-
libc.src.string.memset
2629
libc.src.string.memrchr
30+
libc.src.string.memset
2731
libc.src.string.strcat
2832
libc.src.string.strchr
29-
libc.src.string.strcpy
3033
libc.src.string.strcmp
34+
libc.src.string.strcpy
3135
libc.src.string.strcspn
3236
libc.src.string.strlen
3337
libc.src.string.strncmp
@@ -62,6 +66,11 @@ set(TARGET_LIBM_ENTRYPOINTS
6266
libc.src.math.ceil
6367
libc.src.math.ceilf
6468
libc.src.math.ceill
69+
libc.src.math.cos
70+
libc.src.math.cosf
71+
libc.src.math.expf
72+
libc.src.math.exp2f
73+
libc.src.math.expm1f
6574
libc.src.math.fabs
6675
libc.src.math.fabsf
6776
libc.src.math.fabsl
@@ -95,7 +104,7 @@ set(TARGET_LIBM_ENTRYPOINTS
95104
libc.src.math.llroundl
96105
libc.src.math.logb
97106
libc.src.math.logbf
98-
libc.src.math.logbl
107+
libc.src.math.logbl
99108
libc.src.math.lround
100109
libc.src.math.lroundf
101110
libc.src.math.lroundl
@@ -120,12 +129,16 @@ set(TARGET_LIBM_ENTRYPOINTS
120129
libc.src.math.round
121130
libc.src.math.roundf
122131
libc.src.math.roundl
132+
libc.src.math.sin
133+
libc.src.math.sincosf
134+
libc.src.math.sinf
123135
libc.src.math.sqrt
124136
libc.src.math.sqrtf
125137
libc.src.math.sqrtl
138+
libc.src.math.tan
126139
libc.src.math.trunc
127140
libc.src.math.truncf
128-
libc.src.math.truncl
141+
libc.src.math.truncl
129142
)
130143

131144
set(TARGET_LLVMLIBC_ENTRYPOINTS

0 commit comments

Comments
 (0)