summaryrefslogtreecommitdiff
path: root/libc/test/shared/shared_math_test.cpp
AgeCommit message (Collapse)Author
2025-11-05[libc][math] Refactor exp2m1f16 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#162019) 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-10-17[libc][math] Refactor exp2m1f implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#162017) 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-10-11[libc][math] Refactor exp2f16 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#161993) 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-10-08[libc][math][c23] Add rsqrtf() function (#159615)Anton Shepelev
Closes #159614 **Changes:** - Initial implementation of rsqrt for single precision float **Some small unrelated style changes to this PR (that I missed in my rsqrtf16 PR):** - Added extra - to the top comments to make it look nicer in libc/shared/math/rsqrtf16.h - Put rsqrtf16 inside of libc/src/__support/math/CMakeLists.txt in sorted order - Rearanged libc_math_function rsqrtf16 in Bazel to match alphabetical order
2025-10-06[libc][math] Refactor exp2f implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#161992) 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-10-05[libc][math] Refactor exp2 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#161297) 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-10-01[libc][math] Refactor exp10m1f16 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#161119) 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-09-29[libc][math] Refactor exp10m1f implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#159897) 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-09-20[libc] fix error: implicit conversion loses floating-point precision: ↵Maksim Levental
'double' to 'float' in shared_math_test.cpp (#159934) This test fails under `-Werror=implicit-float-conversion` (like in our pre-merge CI) because `dsqrtl` returns a double https://github.com/llvm/llvm-project/blob/2b937daa1310f7c17a03a0a4a7abf83149e1dc71/libc/src/__support/math/dsqrtl.h#L18 Fixes https://github.com/llvm/llvm-project/issues/159932
2025-09-20[libc][math] Refactor dsqrtl implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#154868) 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-09-17[libc][math][c23] Add rsqrtf16() function (#137545)Anton Shepelev
Addresses #132818 Part of #95250
2025-08-22[libc][math] Refactor cospif16 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#154222) 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-08-22[libc][math] Refactor cospif implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#154215) 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-08-19[libc][math] Refactor coshf16 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#153582) 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-08-14[libc][math] Refactor coshf implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#153427) 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-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-08-11[libc][math] Refactor cosf implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#152069) 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-08-09[libc][math] Refactor cos implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#151883) 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-08-08[libc][math] Refactor cbrtf implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#151846) 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-08-03[libc][math] Refactor cbrt implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#151837) 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-08-02[libc][math] Refactor atanhf16 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#151779) 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-08-02[libc][math] Refactor atanhf implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#151399) 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-08-02[libc][math] Refactor atan2f128 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#151012) 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-08-01[libc][math] Refactor atan2f implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#150993) 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-07-31[libc][math] Refactor atan2 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#150968) 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-07-30[libc][math] Refactor atanf16 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#150868) 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-07-30[libc][math] Refactor atanf implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#150854) 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-07-29[libc][math] Refactor atan implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#150852) 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-07-29[libc][math] Refactor asinhf16 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#150849) 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-07-28[libc][math] Refactor asinhf implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#150843) 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-07-27[libc][math] Refactor asinf16 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#150800) 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-07-26[libc][math] Refactor asinf implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#150697) 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-07-25[libc][math] Refactor asin implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#148578) 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-07-25[libc][math] Refactor acospif16 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#148574) 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-07-25[libc] Fix dependency list of libc.src.__support.math.exp10f16. (#150434)lntue
2025-07-22[libc][math] Refactor acoshf16 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#148568) 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-07-21[libc][math] Refactor acoshf implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#148418) 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-07-21[libc][math] Refactor erff implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#148413) 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-07-21[libc][math] Refactor acosf16 implementation to header-only in ↵Muhammad Bassiouni
src/__support/math folder. (#148412) 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-07-21[libc][math] add smoke tests to shared/math.h (#149741)Muhammad Bassiouni
Adding smoke tests for shared math header. part of #147386