Computer Science


RINT(3)             Linux Programmer's Manual             RINT(3)

NAME
       rint - round to closest integer

SYNOPSIS
       #include <math.h>

       double rint(double x);

DESCRIPTION
       The rint() function rounds x to an integer value according
       to the prevalent rounding mode.  The default rounding mode
       is to round to the nearest integer.

RETURN VALUE
       The  rint() function returns the integer value as a float-
       ing-point number.

CONFORMING TO
       BSD 4.3

SEE ALSO
       abs(3), ceil(3), fabs(3), floor(3), labs(3)

                           June 6, 1993                         1

Back to the index


Apply now!


Handbook

Postgraduate study options

Computer Science Blog



Please give us your feedback or ask us a question

This message is...


My feedback or question is...


My email address is...

(Only if you need a reply)

A to Z Directory | Site map | Accessibility | Copyright | Privacy | Disclaimer | Feedback on this page