Fixed imagined bug in subject pattern match about
[unix-history] / .ref-BSD-3 / usr / src / libF77 / r_nint.c
CommitLineData
0ee0e326
BJ
1double r_nint(x)
2float *x;
3{
4double floor();
5
6return( (*x)>=0 ?
7 floor(*x + .5) : -floor(.5 - *x) );
8}