delorie.com/djgpp/doc/libc/libc_330.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

floor

Syntax

 
#include <math.h>

double floor(double x);

Description

This function computes the largest integer not greater than x.

Return Value

The largest integer value less than or equal to x. Infinities and NaNs are returned unchanged.

Portability

ANSI/ISO C C89; C99
POSIX 1003.2-1992; 1003.1-2001


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004