[libc] Extend MPFRMatcher to handle multiple-input-multiple-output functions.
authorSiva Chandra Reddy <sivachandra@google.com>
Fri, 21 Aug 2020 05:36:53 +0000 (22:36 -0700)
committerSiva Chandra Reddy <sivachandra@google.com>
Wed, 26 Aug 2020 04:42:49 +0000 (21:42 -0700)
commit3f4674a5577dcc63a846d33f61e9bd95e388223d
treed683c03c11b697656d07cb4ff85e6a4e467eeb5e
parent75e0b5866869ea1feb140d6f718d74c786547113
[libc] Extend MPFRMatcher to handle multiple-input-multiple-output functions.

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
libc/test/src/math/CMakeLists.txt
libc/test/src/math/frexp_test.cpp
libc/test/src/math/frexpf_test.cpp
libc/test/src/math/frexpl_test.cpp
libc/utils/MPFRWrapper/MPFRUtils.cpp
libc/utils/MPFRWrapper/MPFRUtils.h