Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

nearbyint Function

Rounds the argument to an integer value in floating-point format, using the current rounding direction.

inline float nearbyint(
   float _X
) restrict(amp);
inline double nearbyint(
   double _X
) restrict(amp);

_X

Floating-point value

Returns the rounded integer value.

Header: amp_math.h

Namespace: Concurrency::precise_math

Show:
© 2015 Microsoft