aboutsummaryrefslogtreecommitdiff
path: root/libc/utils
diff options
context:
space:
mode:
authorJob Henandez Lara <hj93@protonmail.com>2024-07-21 08:17:41 -0700
committerGitHub <noreply@github.com>2024-07-21 11:17:41 -0400
commitaf0f58cf14329f5e0fe56fed7c9eb4cd3107a1ce (patch)
tree6aeb41fcf05ae890472e528593291cb78b249110 /libc/utils
parentc8c0b18b5d58415b79ea13b62eee70c130c26a0a (diff)
downloadllvm-af0f58cf14329f5e0fe56fed7c9eb4cd3107a1ce.zip
llvm-af0f58cf14329f5e0fe56fed7c9eb4cd3107a1ce.tar.gz
llvm-af0f58cf14329f5e0fe56fed7c9eb4cd3107a1ce.tar.bz2
[libc][math][c23] Add entrypoints and tests for fsqrt{,l,f128} (#99669)
Diffstat (limited to 'libc/utils')
-rw-r--r--libc/utils/MPFRWrapper/MPFRUtils.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/libc/utils/MPFRWrapper/MPFRUtils.cpp b/libc/utils/MPFRWrapper/MPFRUtils.cpp
index bb63e0b..d2c28c1 100644
--- a/libc/utils/MPFRWrapper/MPFRUtils.cpp
+++ b/libc/utils/MPFRWrapper/MPFRUtils.cpp
@@ -887,6 +887,13 @@ template void explain_unary_operation_single_output_error(Operation op,
long double,
long double, double,
RoundingMode);
+template void explain_unary_operation_single_output_error(Operation op, double,
+ float, double,
+ RoundingMode);
+template void explain_unary_operation_single_output_error(Operation op,
+ long double, float,
+ double, RoundingMode);
+
#ifdef LIBC_TYPES_HAS_FLOAT16
template void explain_unary_operation_single_output_error(Operation op, float16,
float16, double,
@@ -1106,6 +1113,11 @@ template bool compare_unary_operation_single_output(Operation, double, double,
template bool compare_unary_operation_single_output(Operation, long double,
long double, double,
RoundingMode);
+template bool compare_unary_operation_single_output(Operation, double, float,
+ double, RoundingMode);
+template bool compare_unary_operation_single_output(Operation, long double,
+ float, double,
+ RoundingMode);
#ifdef LIBC_TYPES_HAS_FLOAT16
template bool compare_unary_operation_single_output(Operation, float16, float16,
double, RoundingMode);