This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/ceil.c

9 lines
165 B
C
Raw Normal View History

#include <stdio.h>
#include <math.h>
void main()
{
printf( "%f %f %f %f %f\n", ceil( -2.1 ), ceil( -2. ),
ceil( 0.0 ), ceil( 2. ), ceil( 2.1 ) );
}