[libc-commits] [libc] [libc][math][c++23] Add bf16{add, sub}{, f, l, f128} math functions (PR #152774)
Krishna Pandey via libc-commits
libc-commits at lists.llvm.org
Fri Aug 8 11:48:29 PDT 2025
================
@@ -648,6 +662,25 @@ template bool compare_binary_operation_one_output(Operation,
const BinaryInput<bfloat16> &,
bfloat16, double,
RoundingMode);
+
+template bool compare_binary_operation_one_output(Operation,
+ const BinaryInput<float> &,
+ bfloat16, double,
+ RoundingMode);
+template bool compare_binary_operation_one_output(Operation,
+ const BinaryInput<double> &,
+ bfloat16, double,
+ RoundingMode);
+template bool
+compare_binary_operation_one_output(Operation, const BinaryInput<long double> &,
+ bfloat16, double, RoundingMode);
+#if defined(LIBC_TYPES_HAS_FLOAT128) && \
+ defined(LIBC_TYPES_FLOAT128_IS_NOT_LONG_DOUBLE)
+template bool compare_binary_operation_one_output(Operation,
+ const BinaryInput<float128> &,
+ bfloat16, double,
+ RoundingMode);
+#endif // LIBC_TYPES_HAS_FLOAT128
----------------
krishna2803 wrote:
fixed in [9ccf99f5](https://github.com/llvm/llvm-project/pull/152774/commits/9ccf99f58fedde6c6502fed21bc5d5da4ef88774)
https://github.com/llvm/llvm-project/pull/152774
More information about the libc-commits
mailing list