• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-- Differential test for sqrtf128
2 //----------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #include "SingleInputSingleOutputPerf.h"
11 
12 #include "src/__support/FPUtil/sqrt.h"
13 #include "src/math/sqrtf128.h"
14 
sqrtf128_placeholder(float128 x)15 float128 sqrtf128_placeholder(float128 x) {
16   return LIBC_NAMESPACE::fputil::sqrt<float128>(x);
17 }
18 
19 SINGLE_INPUT_SINGLE_OUTPUT_PERF(float128, LIBC_NAMESPACE::sqrtf128,
20                                 ::sqrtf128_placeholder, "sqrtf128_perf.log")
21