syscons util remove use kbdcontrol & vidcontrol instead
[unix-history] / lib / libF77 / d_int.c
CommitLineData
547779a8
WH
1#include "f2c.h"
2
3#ifdef KR_headers
4double floor();
5double d_int(x) doublereal *x;
6#else
7#undef abs
8#include "math.h"
9double d_int(doublereal *x)
10#endif
11{
12return( (*x>0) ? floor(*x) : -floor(- *x) );
13}