10 lines
115 B
C
10 lines
115 B
C
|
#include "f2c.h"
|
||
|
|
||
|
double d_int(x)
|
||
|
doublereal *x;
|
||
|
{
|
||
|
double floor();
|
||
|
|
||
|
return( (*x>0) ? floor(*x) : -floor(- *x) );
|
||
|
}
|