Skip to content

Commit a7d1a87

Browse files
authored
[libc][math][c23] Add log10p1f16 C23 math function (llvm#184739)
Closes llvm#133202 --------- Signed-off-by: Shikhar Soni <shikharish05@gmail.com>
1 parent 1b9a4a0 commit a7d1a87

File tree

25 files changed

+435
-1
lines changed

25 files changed

+435
-1
lines changed

libc/config/baremetal/aarch64/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ if(LIBC_TYPES_HAS_FLOAT16)
650650
libc.src.math.llrintf16
651651
libc.src.math.llroundf16
652652
libc.src.math.log10f16
653+
libc.src.math.log10p1f16
653654
libc.src.math.log2f16
654655
libc.src.math.logbf16
655656
libc.src.math.logf16

libc/config/baremetal/arm/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@ if(LIBC_TYPES_HAS_FLOAT16)
661661
libc.src.math.llrintf16
662662
libc.src.math.llroundf16
663663
libc.src.math.log10f16
664+
libc.src.math.log10p1f16
664665
libc.src.math.log2f16
665666
libc.src.math.logbf16
666667
libc.src.math.logf16

libc/config/baremetal/riscv/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,7 @@ if(LIBC_TYPES_HAS_FLOAT16)
656656
libc.src.math.llrintf16
657657
libc.src.math.llroundf16
658658
libc.src.math.log10f16
659+
libc.src.math.log10p1f16
659660
libc.src.math.log2f16
660661
libc.src.math.logbf16
661662
libc.src.math.logf16

libc/config/darwin/aarch64/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ if(LIBC_TYPES_HAS_FLOAT16)
472472
libc.src.math.llrintf16
473473
libc.src.math.llroundf16
474474
libc.src.math.log10f16
475+
libc.src.math.log10p1f16
475476
libc.src.math.log2f16
476477
libc.src.math.logbf16
477478
libc.src.math.logf16

libc/config/gpu/amdgpu/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,7 @@ if(LIBC_TYPES_HAS_FLOAT16)
582582
libc.src.math.llrintf16
583583
libc.src.math.llroundf16
584584
libc.src.math.log10f16
585+
libc.src.math.log10p1f16
585586
libc.src.math.log2f16
586587
libc.src.math.logbf16
587588
libc.src.math.logf16

libc/config/gpu/nvptx/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,7 @@ if(LIBC_TYPES_HAS_FLOAT16)
584584
libc.src.math.llrintf16
585585
libc.src.math.llroundf16
586586
libc.src.math.log10f16
587+
libc.src.math.log10p1f16
587588
libc.src.math.log2f16
588589
libc.src.math.logbf16
589590
libc.src.math.logf16

libc/config/linux/aarch64/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,7 @@ if(LIBC_TYPES_HAS_FLOAT16)
731731
libc.src.math.llogbf16
732732
libc.src.math.llrintf16
733733
libc.src.math.llroundf16
734+
libc.src.math.log10p1f16
734735
libc.src.math.logbf16
735736
libc.src.math.lrintf16
736737
libc.src.math.lroundf16

libc/config/linux/riscv/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,7 @@ if(LIBC_TYPES_HAS_FLOAT16)
747747
libc.src.math.llrintf16
748748
libc.src.math.llroundf16
749749
libc.src.math.log10f16
750+
libc.src.math.log10p1f16
750751
libc.src.math.log2f16
751752
libc.src.math.logbf16
752753
libc.src.math.logf16

libc/config/linux/x86_64/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,7 @@ if(LIBC_TYPES_HAS_FLOAT16)
797797
libc.src.math.llrintf16
798798
libc.src.math.llroundf16
799799
libc.src.math.log10f16
800+
libc.src.math.log10p1f16
800801
libc.src.math.log2f16
801802
libc.src.math.logbf16
802803
libc.src.math.logf16

libc/docs/headers/math/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ Higher Math Functions
323323
+-----------+------------------+-----------------+------------------------+----------------------+------------------------+------------------------+------------------------+----------------------------+
324324
| log10 | |check| | |check| | | |check| | | | 7.12.6.12 | F.10.3.12 |
325325
+-----------+------------------+-----------------+------------------------+----------------------+------------------------+------------------------+------------------------+----------------------------+
326-
| log10p1 | | | | | | | 7.12.6.13 | F.10.3.13 |
326+
| log10p1 | | | | |check| | | | 7.12.6.13 | F.10.3.13 |
327327
+-----------+------------------+-----------------+------------------------+----------------------+------------------------+------------------------+------------------------+----------------------------+
328328
| log1p | |check| | |check| | | | | | 7.12.6.14 | F.10.3.14 |
329329
+-----------+------------------+-----------------+------------------------+----------------------+------------------------+------------------------+------------------------+----------------------------+

0 commit comments

Comments
 (0)