fabs 函式 (fast_math)

傳回引數的絕對值

inline float fabs(
   float _X
) restrict(amp);

參數

  • _X
    整數值

傳回值

傳回引數的絕對值

需求

標頭: amp_math.h

命名空間: Concurrency::fast_math

請參閱

參考

Concurrency::fast_math 命名空間