OSDN Git Service

* decl.c (xref_basetypes): Refactor.
[pf3gnuchains/gcc-fork.git] / libf2c / libF77 / r_int.c
1 #include "f2c.h"
2
3 #undef abs
4 #include <math.h>
5 double
6 r_int (real * x)
7 {
8   return ((*x > 0) ? floor (*x) : -floor (-*x));
9 }