截断参数为整数元素
inline float trunc(
   float _X
) restrict(amp);
inline double trunc(
   double _X
) restrict(amp);
参数
- _X
浮点值 
返回值
返回参数的整数元素
要求
标题: amp_math.h
命名空间: 并发:: precise_math
截断参数为整数元素
inline float trunc(
   float _X
) restrict(amp);
inline double trunc(
   double _X
) restrict(amp);
返回参数的整数元素
标题: amp_math.h
命名空间: 并发:: precise_math