mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-11 02:16:50 +00:00
Implement generic rint()
llvm-svn: 188130
This commit is contained in:
parent
da920eab42
commit
abbfd2bde0
@ -46,6 +46,7 @@
|
||||
#include <clc/math/log2.h>
|
||||
#include <clc/math/mad.h>
|
||||
#include <clc/math/pow.h>
|
||||
#include <clc/math/rint.h>
|
||||
#include <clc/math/sin.h>
|
||||
#include <clc/math/sqrt.h>
|
||||
#include <clc/math/native_cos.h>
|
||||
|
6
libclc/generic/include/clc/math/rint.h
Normal file
6
libclc/generic/include/clc/math/rint.h
Normal file
@ -0,0 +1,6 @@
|
||||
#undef rint
|
||||
#define rint __clc_rint
|
||||
|
||||
#define __CLC_FUNCTION __clc_rint
|
||||
#define __CLC_INTRINSIC "llvm.rint"
|
||||
#include <clc/math/unary_intrin.inc>
|
Loading…
x
Reference in New Issue
Block a user