@@ -251,113 +251,226 @@ set(TARGET_LIBM_ENTRYPOINTS
251
251
libc.src.math.atanf
252
252
libc.src.math.atanh
253
253
libc.src.math.atanhf
254
+ libc.src.math.canonicalize
255
+ libc.src.math.canonicalizef
256
+ libc.src.math.canonicalizel
254
257
libc.src.math.cbrt
255
258
libc.src.math.cbrtf
256
259
libc.src.math.ceil
257
260
libc.src.math.ceilf
261
+ libc.src.math.ceill
258
262
libc.src.math.copysign
259
263
libc.src.math.copysignf
264
+ libc.src.math.copysignl
260
265
libc.src.math.cos
261
266
libc.src.math.cosf
262
267
libc.src.math.cosh
263
268
libc.src.math.coshf
269
+ libc.src.math.cospif
270
+ libc.src.math.ddivl
271
+ libc.src.math.dfmal
272
+ libc.src.math.dmull
273
+ libc.src.math.dsqrtl
264
274
libc.src.math.erf
265
275
libc.src.math.erff
266
276
libc.src.math.exp
267
277
libc.src.math.exp10
268
278
libc.src.math.exp10f
269
279
libc.src.math.exp2
270
280
libc.src.math.exp2f
281
+ libc.src.math.exp2m1f
271
282
libc.src.math.expf
272
283
libc.src.math.expm1
273
284
libc.src.math.expm1f
274
285
libc.src.math.fabs
275
286
libc.src.math.fabsf
287
+ libc.src.math.fabsl
276
288
libc.src.math.fadd
289
+ libc.src.math.faddl
277
290
libc.src.math.fdim
278
291
libc.src.math.fdimf
292
+ libc.src.math.fdiml
293
+ libc.src.math.fdiv
294
+ libc.src.math.fdivl
295
+ libc.src.math.ffma
296
+ libc.src.math.ffmal
279
297
libc.src.math.floor
280
298
libc.src.math.floorf
299
+ libc.src.math.floorl
281
300
libc.src.math.fma
282
301
libc.src.math.fmaf
283
302
libc.src.math.fmax
284
303
libc.src.math.fmaxf
304
+ libc.src.math.fmaximum
305
+ libc.src.math.fmaximumf
306
+ libc.src.math.fmaximuml
307
+ libc.src.math.fmaximum_mag
308
+ libc.src.math.fmaximum_magf
309
+ libc.src.math.fmaximum_magl
310
+ libc.src.math.fmaximum_mag_num
311
+ libc.src.math.fmaximum_mag_numf
312
+ libc.src.math.fmaximum_mag_numl
313
+ libc.src.math.fmaximum_num
314
+ libc.src.math.fmaximum_numf
315
+ libc.src.math.fmaximum_numl
316
+ libc.src.math.fmaxl
285
317
libc.src.math.fmin
286
318
libc.src.math.fminf
319
+ libc.src.math.fminimum
320
+ libc.src.math.fminimumf
321
+ libc.src.math.fminimuml
322
+ libc.src.math.fminimum_mag
323
+ libc.src.math.fminimum_magf
324
+ libc.src.math.fminimum_magl
325
+ libc.src.math.fminimum_mag_num
326
+ libc.src.math.fminimum_mag_numf
327
+ libc.src.math.fminimum_mag_numl
328
+ libc.src.math.fminimum_num
329
+ libc.src.math.fminimum_numf
330
+ libc.src.math.fminimum_numl
331
+ libc.src.math.fminl
287
332
libc.src.math.fmod
288
333
libc.src.math.fmodf
334
+ libc.src.math.fmodl
335
+ libc.src.math.fmul
336
+ libc.src.math.fmull
289
337
libc.src.math.frexp
290
338
libc.src.math.frexpf
339
+ libc.src.math.frexpl
340
+ # FIXME: Broken on NVPTX.
341
+ # libc.src.math.fromfp
342
+ # libc.src.math.fromfpf
343
+ # libc.src.math.fromfpl
344
+ # libc.src.math.fromfpx
345
+ # libc.src.math.fromfpxf
346
+ # libc.src.math.fromfpxl
347
+ libc.src.math.fsqrt
348
+ libc.src.math.fsqrtl
349
+ libc.src.math.fsub
350
+ libc.src.math.fsubl
291
351
libc.src.math.getpayload
292
352
libc.src.math.getpayloadf
353
+ libc.src.math.getpayloadl
293
354
libc.src.math.hypot
294
355
libc.src.math.hypotf
295
356
libc.src.math.ilogb
296
357
libc.src.math.ilogbf
358
+ libc.src.math.ilogbl
359
+ libc.src.math.isnan
360
+ libc.src.math.isnanf
361
+ libc.src.math.isnanl
297
362
libc.src.math.ldexp
298
363
libc.src.math.ldexpf
364
+ libc.src.math.ldexpl
365
+ libc.src.math.lgamma
366
+ libc.src.math.lgamma_r
299
367
libc.src.math.llogb
300
368
libc.src.math.llogbf
369
+ libc.src.math.llogbl
301
370
libc.src.math.llrint
302
371
libc.src.math.llrintf
372
+ libc.src.math.llrintl
303
373
libc.src.math.llround
304
374
libc.src.math.llroundf
375
+ libc.src.math.llroundl
305
376
libc.src.math.log
306
377
libc.src.math.log10
307
378
libc.src.math.log10f
308
379
libc.src.math.log1p
309
380
libc.src.math.log1pf
310
381
libc.src.math.log2
311
382
libc.src.math.log2f
383
+ libc.src.math.logb
384
+ libc.src.math.logbf
385
+ libc.src.math.logbl
312
386
libc.src.math.logf
313
387
libc.src.math.lrint
314
388
libc.src.math.lrintf
389
+ libc.src.math.lrintl
315
390
libc.src.math.lround
316
391
libc.src.math.lroundf
392
+ libc.src.math.lroundl
317
393
libc.src.math.modf
318
394
libc.src.math.modff
395
+ libc.src.math.modfl
319
396
libc.src.math.nan
320
397
libc.src.math.nanf
398
+ libc.src.math.nanl
321
399
libc.src.math.nearbyint
322
400
libc.src.math.nearbyintf
401
+ libc.src.math.nearbyintl
323
402
libc.src.math.nextafter
324
403
libc.src.math.nextafterf
404
+ libc.src.math.nextafterl
405
+ libc.src.math.nextdown
406
+ libc.src.math.nextdownf
407
+ libc.src.math.nextdownl
325
408
libc.src.math.nexttoward
326
409
libc.src.math.nexttowardf
410
+ libc.src.math.nexttowardl
411
+ libc.src.math.nextup
412
+ libc.src.math.nextupf
413
+ libc.src.math.nextupl
327
414
libc.src.math.pow
328
415
libc.src.math.powf
329
416
libc.src.math.powi
330
417
libc.src.math.powif
331
418
libc.src.math.remainder
332
419
libc.src.math.remainderf
420
+ libc.src.math.remainderl
333
421
libc.src.math.remquo
334
422
libc.src.math.remquof
423
+ libc.src.math.remquol
335
424
libc.src.math.rint
336
425
libc.src.math.rintf
426
+ libc.src.math.rintl
337
427
libc.src.math.round
428
+ libc.src.math.roundeven
429
+ libc.src.math.roundevenf
430
+ libc.src.math.roundevenl
338
431
libc.src.math.roundf
339
432
libc.src.math.scalbln
340
433
libc.src.math.scalblnf
341
434
libc.src.math.scalbn
342
435
libc.src.math.scalbnf
436
+ libc.src.math.scalbnl
437
+ libc.src.math.setpayload
438
+ libc.src.math.setpayloadf
439
+ libc.src.math.setpayloadl
440
+ libc.src.math.setpayloadsig
441
+ libc.src.math.setpayloadsigf
442
+ libc.src.math.setpayloadsigl
343
443
libc.src.math.sin
344
444
libc.src.math.sincos
345
445
libc.src.math.sincosf
346
446
libc.src.math.sinf
347
447
libc.src.math.sinh
348
448
libc.src.math.sinhf
449
+ libc.src.math.sinpif
349
450
libc.src.math.sqrt
350
451
libc.src.math.sqrtf
452
+ libc.src.math.sqrtl
351
453
libc.src.math.tan
352
454
libc.src.math.tanf
353
455
libc.src.math.tanh
354
456
libc.src.math.tanhf
355
457
libc.src.math.tgamma
356
458
libc.src.math.tgammaf
357
- libc.src.math.lgamma
358
- libc.src.math.lgamma_r
459
+ libc.src.math.totalorder
460
+ libc.src.math.totalorderf
461
+ libc.src.math.totalordermag
462
+ libc.src.math.totalordermagf
463
+ libc.src.math.totalordermagl
359
464
libc.src.math.trunc
360
465
libc.src.math.truncf
466
+ libc.src.math.truncl
467
+ # FIXME: Broken on NVPTX.
468
+ # libc.src.math.ufromfp
469
+ # libc.src.math.ufromfpf
470
+ # libc.src.math.ufromfpl
471
+ # libc.src.math.ufromfpx
472
+ # libc.src.math.ufromfpxf
473
+ # libc.src.math.ufromfpxl
361
474
)
362
475
363
476
if(LIBC_TYPES_HAS_FLOAT16)
@@ -366,18 +479,27 @@ if(LIBC_TYPES_HAS_FLOAT16)
366
479
libc.src.math.canonicalizef16
367
480
libc.src.math.ceilf16
368
481
libc.src.math.copysignf16
482
+ libc.src.math.exp10f16
483
+ libc.src.math.exp2f16
484
+ libc.src.math.expf16
369
485
libc.src.math.f16add
370
486
libc.src.math.f16addf
487
+ libc.src.math.f16addl
371
488
libc.src.math.f16div
372
489
libc.src.math.f16divf
490
+ libc.src.math.f16divl
373
491
libc.src.math.f16fma
374
492
libc.src.math.f16fmaf
493
+ libc.src.math.f16fmal
375
494
libc.src.math.f16mul
376
495
libc.src.math.f16mulf
496
+ libc.src.math.f16mull
377
497
libc.src.math.f16sqrt
378
498
libc.src.math.f16sqrtf
499
+ libc.src.math.f16sqrtl
379
500
libc.src.math.f16sub
380
501
libc.src.math.f16subf
502
+ libc.src.math.f16subl
381
503
libc.src.math.fabsf16
382
504
libc.src.math.fdimf16
383
505
libc.src.math.floorf16
0 commit comments