2003-05-14 Eric Christopher <echristo@redhat.com>
[official-gcc.git] / libf2c / libF77 / r_int.c
blob3c1b28ea4c7cb080b912c33e1ab9c928f08ae0fa
1 #include "f2c.h"
3 #undef abs
4 #include <math.h>
5 double
6 r_int (real * x)
8 return ((*x > 0) ? floor (*x) : -floor (-*x));