1998-01-31 18:37:08 -07:00
|
|
|
#include "f2c.h"
|
|
|
|
|
|
|
|
#undef abs
|
|
|
|
#include <math.h>
|
2002-06-01 12:38:32 +00:00
|
|
|
double
|
|
|
|
d_int (doublereal * x)
|
1998-01-31 18:37:08 -07:00
|
|
|
{
|
2002-06-01 12:38:32 +00:00
|
|
|
return ((*x > 0) ? floor (*x) : -floor (-*x));
|
1998-01-31 18:37:08 -07:00
|
|
|
}
|