Partager via


nearbyintf Function

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

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

Parameters

  • _X
    Floating-point value

Return Value

Returns the rounded integer value.

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace