blob: 9b81acea26f67a7aed7b8e8f820fbc985afe9384 [file] [edit]
//===----------------------------------------------------------------------===//
//
// 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
/// Implementation of the single-precision SIMD sin vector function.
///
//===----------------------------------------------------------------------===//
#include "src/__support/mathvec/sinf.h"
#include "src/mathvec/abi_prefix.h"
#include "src/mathvec/sinf.h"
namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(cpp::simd<float>, sinf, (cpp::simd<float> x),
LIBC_VFABI_FLOAT_SYMBOL(sinf)) {
return mathvec::sinf(x);
}
} // namespace LIBC_NAMESPACE_DECL