* config/sparc/sparc.c: Update copyright year.
[official-gcc.git] / libf2c / libF77 / r_nint.c
blobf2713d588b1bb258c7bc000601620b5b385fad63
1 #include "f2c.h"
3 #undef abs
4 #include <math.h>
5 double
6 r_nint (real * x)
8 return ((*x) >= 0 ? floor (*x + .5) : -floor (.5 - *x));