[libc-commits] [libc] [libc][math] Add MPFR tests for fmul (PR #96413)

via libc-commits libc-commits at lists.llvm.org
Sat Jun 22 18:39:34 PDT 2024


================
@@ -308,6 +314,10 @@ constexpr bool is_valid_operation() {
           op < Operation::EndBinaryOperationsSingleOutput &&
           cpp::is_floating_point_v<OutputType> &&
           cpp::is_same_v<InputType, BinaryInput<OutputType>>) ||
+         (Operation::BeginBinaryOperationsSingleOutput < op &&
+          op < Operation::EndBinaryOperationsSingleOutput &&
+          cpp::is_floating_point_v<OutputType> &&
+          !cpp::is_same_v<InputType, BinaryInput<OutputType>>) ||
----------------
lntue wrote:

This is redundant.

https://github.com/llvm/llvm-project/pull/96413


More information about the libc-commits mailing list