summaryrefslogtreecommitdiff
path: root/libc/src/math/generic/sqrt.cpp
AgeCommit message (Collapse)Author
2024-07-12[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)Petr Hosek
This is a part of #97655.
2024-07-12Revert "[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace ↵Mehdi Amini
declaration" (#98593) Reverts llvm/llvm-project#98075 bots are broken
2024-07-11[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98075)Petr Hosek
This is a part of #97655.
2024-06-13[libc][math][c23] Add f16sqrtf C23 math function (#95251)OverMighty
Part of #95250.
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
2021-08-06[libc][nfc] move ctype_utils and FPUtils to __supportMichael Jones
Some ctype functions are called from other libc functions (e.g. isspace is used in atoi). By moving ctype_utils.h to __support it becomes easier to include just the implementations of these functions. For these reasons the implementation for isspace was moved into ctype_utils as well. FPUtils was moved to simplify the build order, and to clarify which files are a part of the actual libc. Many files were modified to accomodate these changes, mostly changing the #include paths. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D107600
2021-02-03[libc][NFC] Move generic math implementations to the generic directory.Siva Chandra
This expands the pattern suggest in https://reviews.llvm.org/D95850 to all math functions.