floor
floor
Synopsis
#include <math.h>
double floor(double);
float floorf (float);
Description
The
function returns the largest integral value that is not greater
floor
than its input.
Error Conditions
The
function does not return an error condition.
floor
Example
#include <math.h>
double y;
y = floor(1.25);
y = floor(-1.25);
See Also
ceil
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
/* y = 1.0
*/
/* y = -2.0 */
C/C++ Run-Time Library
3-59
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers