Skip to content

Commit da9cdf3

Browse files
[libc][arm] add more math.h entrypoints
In particular, we have internal customers that would like to use nanf and scalbnf. The differences between various entrypoint files can be checked via: $ comm -3 <(grep libc\.src path/to/entrypoints.txt | sort) \ <(grep libc\.src path/to/other/entrypoints.txt | sort)
1 parent 70cea91 commit da9cdf3

File tree

1 file changed

+109
-0
lines changed

1 file changed

+109
-0
lines changed

libc/config/linux/arm/entrypoints.txt

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,18 +115,127 @@ set(TARGET_LIBM_ENTRYPOINTS
115115
libc.src.fenv.feupdateenv
116116

117117
# math.h entrypoints
118+
libc.src.math.acosf
119+
libc.src.math.acoshf
120+
libc.src.math.asinf
121+
libc.src.math.asinhf
122+
libc.src.math.atanf
123+
libc.src.math.atanhf
124+
libc.src.math.ceil
125+
libc.src.math.ceilf
126+
libc.src.math.ceill
127+
libc.src.math.copysign
128+
libc.src.math.copysignf
129+
libc.src.math.copysignl
130+
libc.src.math.cos
131+
libc.src.math.cosf
132+
libc.src.math.coshf
133+
libc.src.math.erff
134+
libc.src.math.exp
135+
libc.src.math.exp10
136+
libc.src.math.exp10f
137+
libc.src.math.exp2
138+
libc.src.math.exp2f
139+
libc.src.math.expf
140+
libc.src.math.expm1
141+
libc.src.math.expm1f
118142
libc.src.math.fabs
119143
libc.src.math.fabsf
120144
libc.src.math.fabsl
121145
libc.src.math.fdim
122146
libc.src.math.fdimf
123147
libc.src.math.fdiml
148+
libc.src.math.floor
149+
libc.src.math.floorf
150+
libc.src.math.floorl
151+
libc.src.math.fma
152+
libc.src.math.fmaf
124153
libc.src.math.fmax
125154
libc.src.math.fmaxf
126155
libc.src.math.fmaxl
127156
libc.src.math.fmin
128157
libc.src.math.fminf
129158
libc.src.math.fminl
159+
libc.src.math.fmod
160+
libc.src.math.fmodf
161+
libc.src.math.frexp
162+
libc.src.math.frexpf
163+
libc.src.math.frexpl
164+
libc.src.math.hypot
165+
libc.src.math.hypotf
166+
libc.src.math.ilogb
167+
libc.src.math.ilogbf
168+
libc.src.math.ilogbl
169+
libc.src.math.ldexp
170+
libc.src.math.ldexpf
171+
libc.src.math.ldexpl
172+
libc.src.math.llrint
173+
libc.src.math.llrintf
174+
libc.src.math.llrintl
175+
libc.src.math.llround
176+
libc.src.math.llroundf
177+
libc.src.math.llroundl
178+
libc.src.math.log
179+
libc.src.math.log10
180+
libc.src.math.log10f
181+
libc.src.math.log1p
182+
libc.src.math.log1pf
183+
libc.src.math.log2
184+
libc.src.math.log2f
185+
libc.src.math.logb
186+
libc.src.math.logbf
187+
libc.src.math.logbl
188+
libc.src.math.logf
189+
libc.src.math.lrint
190+
libc.src.math.lrintf
191+
libc.src.math.lrintl
192+
libc.src.math.lround
193+
libc.src.math.lroundf
194+
libc.src.math.lroundl
195+
libc.src.math.modf
196+
libc.src.math.modff
197+
libc.src.math.modfl
198+
libc.src.math.nan
199+
libc.src.math.nanf
200+
libc.src.math.nanl
201+
libc.src.math.nearbyint
202+
libc.src.math.nearbyintf
203+
libc.src.math.nearbyintl
204+
libc.src.math.nextafter
205+
libc.src.math.nextafterf
206+
libc.src.math.nextafterl
207+
libc.src.math.nexttoward
208+
libc.src.math.nexttowardf
209+
libc.src.math.nexttowardl
210+
libc.src.math.powf
211+
libc.src.math.remainder
212+
libc.src.math.remainderf
213+
libc.src.math.remainderl
214+
libc.src.math.remquo
215+
libc.src.math.remquof
216+
libc.src.math.remquol
217+
libc.src.math.rint
218+
libc.src.math.rintf
219+
libc.src.math.rintl
220+
libc.src.math.round
221+
libc.src.math.roundf
222+
libc.src.math.roundl
223+
libc.src.math.scalbn
224+
libc.src.math.scalbnf
225+
libc.src.math.scalbnl
226+
libc.src.math.sin
227+
libc.src.math.sincosf
228+
libc.src.math.sinf
229+
libc.src.math.sinhf
230+
libc.src.math.sqrt
231+
libc.src.math.sqrtf
232+
libc.src.math.sqrtl
233+
libc.src.math.tan
234+
libc.src.math.tanf
235+
libc.src.math.tanhf
236+
libc.src.math.trunc
237+
libc.src.math.truncf
238+
libc.src.math.truncl
130239
)
131240

132241
set(TARGET_LLVMLIBC_ENTRYPOINTS

0 commit comments

Comments
 (0)