[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


rint

The function rint rounds off the argument to an integral value.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <math.h>
double rint ( double x );
Parameters:

Parameters for this function are:

x  
double  
The value to be computed  

Return:

The argument in integral value in floating point format.

Remarks:

Rounds its argument to an integral value in floating-point format using the current rounding direction.

See Also:

"rinttol"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000