Everything

rint [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 rint(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. An "inexact" floating-point exception is not generated.