다음을 통해 공유


floor Function

Calculates the floor of the argument

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

Parameters

  • _X
    Floating-point value

Return Value

Returns the floor of the argument

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace