This documentation is archived and is not being maintained.

round Function (fast_math)

Rounds _X to the nearest integer

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

_X

Floating-point value

Returns the nearest integer of _X

Header: amp_math.h

Namespace: Concurrency::fast_math

Show: