Rounds a floating-point number to an integer in the floating-point representation according to the current rounding direction.
long double rintl(long double d);
d Value to be rounded to an integer in the floating-point format
d rounded to an integer in the floating-point format
The rint function group differs from the nearbyint function group only in that the ring function group may generate "inexact" floating-point exceptions.