Skip to content

Commit cd17082

Browse files
authored
[libc][math][c23] Add remaining linux/* entrypoints for {,u}fromfp{,x}* (#86692)
1 parent d9a685a commit cd17082

File tree

4 files changed

+60
-16
lines changed

4 files changed

+60
-16
lines changed

libc/config/linux/aarch64/entrypoints.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,12 @@ set(TARGET_LIBM_ENTRYPOINTS
396396
libc.src.math.frexp
397397
libc.src.math.frexpf
398398
libc.src.math.frexpl
399+
libc.src.math.fromfp
400+
libc.src.math.fromfpf
401+
libc.src.math.fromfpl
402+
libc.src.math.fromfpx
403+
libc.src.math.fromfpxf
404+
libc.src.math.fromfpxl
399405
libc.src.math.hypot
400406
libc.src.math.hypotf
401407
libc.src.math.ilogb
@@ -478,6 +484,12 @@ set(TARGET_LIBM_ENTRYPOINTS
478484
libc.src.math.trunc
479485
libc.src.math.truncf
480486
libc.src.math.truncl
487+
libc.src.math.ufromfp
488+
libc.src.math.ufromfpf
489+
libc.src.math.ufromfpl
490+
libc.src.math.ufromfpx
491+
libc.src.math.ufromfpxf
492+
libc.src.math.ufromfpxl
481493
)
482494

483495
if(LIBC_TYPES_HAS_FLOAT128)
@@ -500,6 +512,8 @@ if(LIBC_TYPES_HAS_FLOAT128)
500512
libc.src.math.fminimum_mag_numf128
501513
libc.src.math.fmodf128
502514
libc.src.math.frexpf128
515+
libc.src.math.fromfpf128
516+
libc.src.math.fromfpxf128
503517
libc.src.math.ilogbf128
504518
libc.src.math.ldexpf128
505519
libc.src.math.llogbf128
@@ -517,6 +531,8 @@ if(LIBC_TYPES_HAS_FLOAT128)
517531
libc.src.math.roundf128
518532
libc.src.math.sqrtf128
519533
libc.src.math.truncf128
534+
libc.src.math.ufromfpf128
535+
libc.src.math.ufromfpxf128
520536
)
521537
endif()
522538

libc/config/linux/arm/entrypoints.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,12 @@ set(TARGET_LIBM_ENTRYPOINTS
263263
libc.src.math.frexp
264264
libc.src.math.frexpf
265265
libc.src.math.frexpl
266+
libc.src.math.fromfp
267+
libc.src.math.fromfpf
268+
libc.src.math.fromfpl
269+
libc.src.math.fromfpx
270+
libc.src.math.fromfpxf
271+
libc.src.math.fromfpxl
266272
libc.src.math.hypot
267273
libc.src.math.hypotf
268274
libc.src.math.ilogb
@@ -345,6 +351,12 @@ set(TARGET_LIBM_ENTRYPOINTS
345351
libc.src.math.trunc
346352
libc.src.math.truncf
347353
libc.src.math.truncl
354+
libc.src.math.ufromfp
355+
libc.src.math.ufromfpf
356+
libc.src.math.ufromfpl
357+
libc.src.math.ufromfpx
358+
libc.src.math.ufromfpxf
359+
libc.src.math.ufromfpxl
348360
)
349361

350362
set(TARGET_LLVMLIBC_ENTRYPOINTS

libc/config/linux/riscv/entrypoints.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,12 @@ set(TARGET_LIBM_ENTRYPOINTS
404404
libc.src.math.frexp
405405
libc.src.math.frexpf
406406
libc.src.math.frexpl
407+
libc.src.math.fromfp
408+
libc.src.math.fromfpf
409+
libc.src.math.fromfpl
410+
libc.src.math.fromfpx
411+
libc.src.math.fromfpxf
412+
libc.src.math.fromfpxl
407413
libc.src.math.hypot
408414
libc.src.math.hypotf
409415
libc.src.math.ilogb
@@ -486,6 +492,12 @@ set(TARGET_LIBM_ENTRYPOINTS
486492
libc.src.math.trunc
487493
libc.src.math.truncf
488494
libc.src.math.truncl
495+
libc.src.math.ufromfp
496+
libc.src.math.ufromfpf
497+
libc.src.math.ufromfpl
498+
libc.src.math.ufromfpx
499+
libc.src.math.ufromfpxf
500+
libc.src.math.ufromfpxl
489501
)
490502

491503
if(LIBC_TYPES_HAS_FLOAT128)
@@ -508,6 +520,8 @@ if(LIBC_TYPES_HAS_FLOAT128)
508520
libc.src.math.fminimum_mag_numf128
509521
libc.src.math.fmodf128
510522
libc.src.math.frexpf128
523+
libc.src.math.fromfpf128
524+
libc.src.math.fromfpxf128
511525
libc.src.math.ilogbf128
512526
libc.src.math.ldexpf128
513527
libc.src.math.llogbf128
@@ -525,6 +539,8 @@ if(LIBC_TYPES_HAS_FLOAT128)
525539
libc.src.math.roundf128
526540
libc.src.math.sqrtf128
527541
libc.src.math.truncf128
542+
libc.src.math.ufromfpf128
543+
libc.src.math.ufromfpxf128
528544
)
529545
endif()
530546

libc/docs/math/index.rst

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -190,21 +190,21 @@ Basic Operations
190190
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
191191
| frexpf128 | |check| | |check| | | |check| | | | | | | | | |
192192
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
193-
| fromfp | |check| | | | | | | | | | | | |
193+
| fromfp | |check| | |check| | |check| | |check| | | | | | | | | |
194194
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
195-
| fromfpf | |check| | | | | | | | | | | | |
195+
| fromfpf | |check| | |check| | |check| | |check| | | | | | | | | |
196196
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
197-
| fromfpl | |check| | | | | | | | | | | | |
197+
| fromfpl | |check| | |check| | |check| | |check| | | | | | | | | |
198198
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
199-
| fromfpf128 | |check| | | | | | | | | | | | |
199+
| fromfpf128 | |check| | |check| | | |check| | | | | | | | | |
200200
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
201-
| fromfpx | |check| | | | | | | | | | | | |
201+
| fromfpx | |check| | |check| | |check| | |check| | | | | | | | | |
202202
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
203-
| fromfpxf | |check| | | | | | | | | | | | |
203+
| fromfpxf | |check| | |check| | |check| | |check| | | | | | | | | |
204204
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
205-
| fromfpxl | |check| | | | | | | | | | | | |
205+
| fromfpxl | |check| | |check| | |check| | |check| | | | | | | | | |
206206
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
207-
| fromfpxf128 | |check| | | | | | | | | | | | |
207+
| fromfpxf128 | |check| | |check| | | |check| | | | | | | | | |
208208
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
209209
| ilogb | |check| | |check| | |check| | |check| | |check| | | | |check| | |check| | |check| | | |
210210
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
@@ -364,21 +364,21 @@ Basic Operations
364364
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
365365
| truncf128 | |check| | |check| | | |check| | | | | | | | | |
366366
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
367-
| ufromfp | |check| | | | | | | | | | | | |
367+
| ufromfp | |check| | |check| | |check| | |check| | | | | | | | | |
368368
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
369-
| ufromfpf | |check| | | | | | | | | | | | |
369+
| ufromfpf | |check| | |check| | |check| | |check| | | | | | | | | |
370370
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
371-
| ufromfpl | |check| | | | | | | | | | | | |
371+
| ufromfpl | |check| | |check| | |check| | |check| | | | | | | | | |
372372
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
373-
| ufromfpf128 | |check| | | | | | | | | | | | |
373+
| ufromfpf128 | |check| | |check| | | |check| | | | | | | | | |
374374
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
375-
| ufromfpx | |check| | | | | | | | | | | | |
375+
| ufromfpx | |check| | |check| | |check| | |check| | | | | | | | | |
376376
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
377-
| ufromfpxf | |check| | | | | | | | | | | | |
377+
| ufromfpxf | |check| | |check| | |check| | |check| | | | | | | | | |
378378
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
379-
| ufromfpxl | |check| | | | | | | | | | | | |
379+
| ufromfpxl | |check| | |check| | |check| | |check| | | | | | | | | |
380380
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
381-
| ufromfpxf128 | |check| | | | | | | | | | | | |
381+
| ufromfpxf128 | |check| | |check| | | |check| | | | | | | | | |
382382
+------------------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+
383383

384384

0 commit comments

Comments
 (0)