round (Función)

Redondea _X al entero mas cercano

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

Parámetros

  • _X
    Valor en coma flotante

Valor devuelto

Devuelve el entero más cercano a _X

Requisitos

Encabezado: amp_math.h

Espacio de nombres: Concurrency::precise_math

Vea también

Referencia

Concurrency::precise_math (Espacio de nombres)