20 lines · cpp
1//===-- Differential test for hypotf --------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#include "PerfTest.h"10 11#include "src/math/hypotf.h"12 13#include <math.h>14 15int main() {16 BINARY_INPUT_SINGLE_OUTPUT_PERF(float, float, LIBC_NAMESPACE::hypotf,17 ::hypotf, "hypotf_perf.log")18 return 0;19}20