]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libf2c/libF77/d_int.c
add -n option to suppress clearing the build tree and add -DNO_CLEAN
[FreeBSD/FreeBSD.git] / contrib / libf2c / libF77 / d_int.c
1 #include "f2c.h"
2
3 #undef abs
4 #include <math.h>
5 double
6 d_int (doublereal * x)
7 {
8   return ((*x > 0) ? floor (*x) : -floor (-*x));
9 }