mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-07 18:10:24 +00:00
math: pull more C functions from std
The newer ucrt version provides the gamma meth routines. Includede them when building the library. llvm-svn: 294902
This commit is contained in:
parent
0d467ff53f
commit
2fe5658d9a
@ -1017,7 +1017,7 @@ copysign(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
|
||||
return ::copysign((__result_type)__lcpp_x, (__result_type)__lcpp_y);
|
||||
}
|
||||
|
||||
#ifndef _LIBCPP_MSVCRT
|
||||
#if !defined(_LIBCPP_MSVCRT) || ((_VC_CRT_MAJOR_VERSION-0) >= 14)
|
||||
|
||||
// erf
|
||||
|
||||
@ -1401,7 +1401,7 @@ inline _LIBCPP_INLINE_VISIBILITY
|
||||
typename std::enable_if<std::is_integral<_A1>::value, double>::type
|
||||
trunc(_A1 __lcpp_x) _NOEXCEPT {return ::trunc((double)__lcpp_x);}
|
||||
|
||||
#endif // !_LIBCPP_MSVCRT
|
||||
#endif // !defined(_LIBCPP_MSVCRT) || ((_VC_CRT_MAJOR_VERSION-0) >= 14)
|
||||
|
||||
} // extern "C++"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user