[libc-commits] [libc] [libc][math] Implementation of sinpi, correctly rounded to all modes (PR #137953)
via libc-commits
libc-commits at lists.llvm.org
Fri May 2 04:43:58 PDT 2025
================
@@ -2440,6 +2440,12 @@ functions:
arguments:
- type: _Float16
guard: LIBC_TYPES_HAS_FLOAT16
+ - name: sinpi
+ standards:
+ - stdc
+ return_type: double
+ arguments:
+ - type: double
- name: sinpif16
----------------
overmighty wrote:
Can you also add `sinpif`? It's already implemented but missing in math.yaml for some reason.
```suggestion
- name: sinpi
standards:
- stdc
return_type: double
arguments:
- type: double
- name: sinpif
standards:
- stdc
return_type: float
arguments:
- type: float
- name: sinpif16
```
https://github.com/llvm/llvm-project/pull/137953
More information about the libc-commits
mailing list