mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 19:49:36 +00:00
math: Add native_tan as wrapper to tan
Trivially define native_tan as a redirect to tan. If there are any targets with a native implementation, we can deal with it later. Signed-off-by: Aaron Watry <awatry@gmail.com> Reviewed-by: Matt Arsenault <arsenm2@gmail.com> llvm-svn: 295920
This commit is contained in:
parent
696e31271b
commit
dfec3c8e95
@ -103,6 +103,7 @@
|
||||
#include <clc/math/native_sin.h>
|
||||
#include <clc/math/native_sqrt.h>
|
||||
#include <clc/math/native_rsqrt.h>
|
||||
#include <clc/math/native_tan.h>
|
||||
#include <clc/math/rsqrt.h>
|
||||
|
||||
/* 6.11.2.1 Floating-point macros */
|
||||
|
10
libclc/generic/include/clc/math/native_tan.h
Normal file
10
libclc/generic/include/clc/math/native_tan.h
Normal file
@ -0,0 +1,10 @@
|
||||
//===-- generic/include/clc/math/native_tan.h -----------------------------===//
|
||||
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is dual licensed under both the University of Illinois Open Source
|
||||
// License and the MIT license. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#define native_tan tan
|
Loading…
Reference in New Issue
Block a user