17 lines · cpp
1//===-- Double-precision cos function -------------------------------------===//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 "src/math/cos.h"10#include "src/__support/math/cos.h"11 12namespace LIBC_NAMESPACE_DECL {13 14LLVM_LIBC_FUNCTION(double, cos, (double x)) { return math::cos(x); }15 16} // namespace LIBC_NAMESPACE_DECL17