OSDN Git Service

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