Bell 32V development
[unix-history] / usr / src / libF77 / r_nint.c
CommitLineData
0c9e74ab
TL
1double r_nint(x)
2float *x;
3{
4return( (*x)>=0 ?
5 (long int) (*x + .5) : (long int) (*x - .5) );
6}