Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER LIBRARY FUNCTIONS->Detailed Descriptions->floor() floorl()

Summary

#include <math.h>

    
double floor(double x);Round down to nearest double precision integer
long double floorl(double x);Round down to nearest long double precision integer

Parameter

x    Floating point value


Description

These functions calculate the largest integer not greater than x.


Return

These functions return the largest integer not greater than x.