summaryrefslogtreecommitdiff
path: root/libc/src/math/generic/sinpif16.cpp
AgeCommit message (Collapse)Author
2025-08-13[libc][math] Refactor cosf16 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#152871) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
2025-04-08[libc][math] Fix signaling NaN handling for math functions. (#133347)wldfngrs
Add tests for signaling NaNs, and fix function behavior for handling signaling NaN input. Fixes https://github.com/llvm/llvm-project/issues/124812
2024-10-29[libc][math][c23] Add cospif16 function (#113001)wldfngrs
Implementation of `cos` for half precision floating point inputs scaled by pi (i.e., `cospi`), correctly rounded for all rounding modes. --------- Co-authored-by: OverMighty <its.overmighty@gmail.com>
2024-10-15[libc] Add sinpif16 function (#110994)wldfngrs
Half-precision floating point (16-bit) implementation of the trigonometric function Sin for inputs scaled by pi