blob: 392b1a7e215005f45a84b3e2e6a5de1482da4012 [file]
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
///
/// \file
/// This file contains exhaustive tests for single-precision SIMD tanh.
///
//===----------------------------------------------------------------------===//
#include "exhaustive_test.h"
#include "src/__support/CPP/simd.h"
#include "src/math/tanhf.h"
#include "src/mathvec/tanhf.h"
using LlvmLibcTanhfExhaustiveTest =
LlvmLibcUnaryOpExhaustiveMathvecTest<float, LIBC_NAMESPACE::tanhf,
LIBC_NAMESPACE::tanhf>;
// Tests all possible 32-bit input patterns
TEST_F(LlvmLibcTanhfExhaustiveTest, EntireRange) { test_full_range_RN(); }