summaryrefslogtreecommitdiff
path: root/libc/test/src/math/frexpf_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
2021-06-30[libc][NFC] Remove few deprecated FPUtil header files and test patterns.Siva Chandra Reddy
Few tests have been converted to the new test patterns to facilitate this.
2021-04-17[libc][NFC] Make conversion from FPBits to the float point type explicit.Siva Chandra Reddy
This will help us catch errors like the ones fixed by the commit 31ed45d9cfd5da2bf4f1d7ddba54122df6fc91fa
2021-01-20[libc][NFC] add "LlvmLibc" as a prefix to all test namesMichael Jones
Summary: Having a consistent prefix makes selecting all of the llvm libc tests easier on any platform that is also using the gtest framework. This also modifies the TEST and TEST_F macros to enforce this change moving forward. Reviewers: sivachandra Subscribers:
2020-11-21[libc] Switch functions to using global headersMichael Jones
This switches all of the files in src/string, src/math, and test/src/math from using relative paths (e.g. `#include “include/string.h”`) to global paths (e.g. `#include <string.h>`) to make bringing up those functions on other platforms, such as fuchsia, easier. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D91394
2020-08-25[libc] Extend MPFRMatcher to handle multiple-input-multiple-output functions.Siva Chandra Reddy
Tests for frexp[f|l] now use the new capability. Not all input-output combinations have been addressed by this change. Support for newer combinations can be added in future as needed. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D86506
2020-06-23[libc][Obvious] Fix few typos in tests.Siva Chandra Reddy
2020-06-15[lib][NFC] Split the floating point util functions into multiple files.Siva Chandra Reddy
The grouping now reflects the grouping on cppreference.com.
2020-06-11[libc] Add implementation of few floating point manipulation functions.Siva Chandra Reddy
Implementations of copysign[f], frexp[f], logb[f], and modf[f] are added. Reviewers: asteinhauser Differential Revision: https://reviews.llvm.org/D81134