summaryrefslogtreecommitdiff
path: root/libc/test/src/math/generic_sqrt_test.cpp
AgeCommit message (Collapse)Author
2023-09-26[libc] Mass replace enclosing namespace (#67032)Guillaume Chatelet
This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079
2022-01-28[libc] Refactor sqrt implementations and add tests for generic sqrt ↵Tue Ly
implementations. Re-apply https://reviews.llvm.org/D118173 with fix for aarch64. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D118433
2022-01-27[libc] Revert "Refactor sqrt implementations and add tests for generic sqrt ↵Siva Chandra Reddy
implementations." This reverts commit 21c4c82c2026bac1f53be54923c0663d41d0a0aa.
2022-01-27[libc] Refactor sqrt implementations and add tests for generic sqrt ↵Tue Ly
implementations. Refactor sqrt implementations: - Move architecture specific instructions from `src/math/<arch>` to `src/__support/FPUtil/<arch>` folder. - Move generic implementation of `sqrt` to `src/__support/FPUtil/generic` folder and add it as a header library. - Use `src/__support/FPUtil/sqrt.h` for architecture/generic selections. - Add unit tests for generic implementation of `sqrt`. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D118173