mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 17:59:47 +08:00
4d85a6fea6
* libF77/*: Delete KR_headers cruft. * libI77/*: Likewise. * libU77/*: Likewise. From-SVN: r54132
9 lines
118 B
C
9 lines
118 B
C
#include "f2c.h"
|
|
|
|
#undef abs
|
|
#include <math.h>
|
|
double r_int(real *x)
|
|
{
|
|
return( (*x>0) ? floor(*x) : -floor(- *x) );
|
|
}
|