1998-02-01 02:37:08 +01:00
|
|
|
#include "f2c.h"
|
|
|
|
|
|
|
|
#undef abs
|
|
|
|
#include <math.h>
|
2002-06-01 14:38:32 +02:00
|
|
|
integer
|
|
|
|
i_dnnt (doublereal * x)
|
1998-02-01 02:37:08 +01:00
|
|
|
{
|
2002-06-01 14:38:32 +02:00
|
|
|
return (integer) (*x >= 0. ? floor (*x + .5) : -floor (.5 - *x));
|
1998-02-01 02:37:08 +01:00
|
|
|
}
|