OSDN Git Service

* call.c (add_builtin_candidate): legal -> valid, illegal -> invalid.
[pf3gnuchains/gcc-fork.git] / libf2c / libF77 / r_nint.c
1 #include "f2c.h"
2
3 #undef abs
4 #include <math.h>
5 double
6 r_nint (real * x)
7 {
8   return ((*x) >= 0 ? floor (*x + .5) : -floor (.5 - *x));
9 }