blob: 57d764f1f2a0ddf403eb67c8844ad32ef1d1b343 [file] [log] [blame]
//===-- Implementation of the tanh function for GPU -----------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
#include "src/math/tanh.h"
#include "src/__support/common.h"
#include "common.h"
namespace LIBC_NAMESPACE {
LLVM_LIBC_FUNCTION(double, tanh, (double x)) { return internal::tanh(x); }
} // namespace LIBC_NAMESPACE