Everything

nearbyint [V1.09 or later]


This function rounds the argument to an integer value in a floating-point format according to the rounding direction.

[Classification]

Mathematical library

[Syntax]

#include <math.h>

double __far nearbyint(double x); (C99)

[Return value]

Returns a rounded value.

[Description]

This function rounds the argument to an integer value in a floating-point format according to the rounding direction.