BSD 4_1c_2 development
[unix-history] / usr / src / usr.lib / libF77 / i_nint.c
long int i_nint(x)
float *x;
{
double floor();
return( (*x)>=0 ?
floor(*x + .5) : -floor(.5 - *x) );
}