[libc-commits] [libc] [libc] Add mpfr tests for fmul. (PR #97376)
via libc-commits
libc-commits at lists.llvm.org
Mon Jul 1 20:24:05 PDT 2024
================
@@ -237,12 +243,14 @@ class MPFRMatcher : public testing::Matcher<OutputType> {
bool is_silent() const override { return silent; }
private:
- template <typename T, typename U> bool match(T in, U out) {
+ template <typename InType, typename OutType>
+ bool match(InType in, OutType out) {
return compare_unary_operation_single_output(op, in, out, ulp_tolerance,
rounding);
}
- template <typename T> bool match(T in, const BinaryOutput<T> &out) {
+ template <typename InType>
+ bool match(InType in, const BinaryOutput<InType> &out) {
----------------
lntue wrote:
There is only one type here for both input and output, leave it as `T`.
https://github.com/llvm/llvm-project/pull/97376
More information about the libc-commits
mailing list