-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gsoc2024][libc][math][c23] Implement _Float16 higher math functions #95250
Comments
Are there any plans for LLVM to lower to these intrinsics, or does it already ever? Or is this just making the functions available for calling directly. |
Sorry for the late reply. I have been told there are plans to at some point have LLVM call LLVM libc math functions for computations internally, and later have LLVM lower to calls to these functions too. |
Lowering to these functions may be nice since it provides a way to get correctly rounded |
This issue is part of the following Google Summer of Code 2024 project: https://summerofcode.withgoogle.com/programs/2024/projects/1vPVUj93.
acosf16
acoshf16
acospif16
asinf16
asinhf16
asinpif16
atanf16
atan2f16
atan2pif16
atanhf16
atanpif16
cbrtf16
compoundnf16
cosf16
: [libc][math][c23] Add cosf16 function #118785coshf16
: [libc][math][c23] Add sinhf16 and coshf16 C23 math functions #105947cospif16
: [libc][math][c23] Add cospif16 function #113001dsqrtf16
erff16
erfcf16
expf16
: [libc][math][c23] Add expf16 C23 math function #100632exp10f16
: [libc][math][c23] Add exp10f16 C23 math function #101588exp10m1f16
: [libc][math][c23] Add exp10m1f16 C23 math function #105706exp2f16
: [libc][math][c23] Add exp2f16 C23 math function #101217exp2m1f16
: [libc][math][c23] Add exp2m1f16 C23 math function #105690expm1f16
: [libc][math][c23] Add expm1f16 C23 math function #102387fmaf16
f16sqrt
(extension): [libc][math][c23] Add f16sqrt{,l,f128} C23 math functions #96642f16sqrtf
(extension): [libc][math][c23] Add f16sqrtf C23 math function #95251f16sqrtl
(extension): [libc][math][c23] Add f16sqrt{,l,f128} C23 math functions #96642f16sqrtf128
: [libc][math][c23] Add f16sqrt{,l,f128} C23 math functions #96642fsqrtf16
hypotf16
lgammaf16
logf16
: [libc][math][c23] Add logf16 C23 math function #106072log10f16
: [libc][math][c23] Add log10f16 C23 math function #106091log10p1f16
log1pf16
log2f16
: [libc][math][c23] Add log2f16 C23 math function #106084log2p1f16
logp1f16
powf16
pownf16
powrf16
rootnf16
rsqrtf16
sinf16
: [libc][math][c23] Add sinf16 C23 math function #116674sincosf16
(extension)sinhf16
: [libc][math][c23] Add sinhf16 and coshf16 C23 math functions #105947sinpif16
: [libc] Add sinpif16 function #110994sqrtf16
: [libc][math][c23] Add sqrtf16 C23 math function #112406tanf16
: [libc][math][c23] Add tanf16 function #121018tanhf16
: [libc][math][c23] Add tanhf16 C23 math function #106006tanpif16
: [libc][math][c23] Add tanpif16 function #115183tgammaf16
The text was updated successfully, but these errors were encountered: