]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - 6/contrib/libf2c/libF77/d_int.c
merge fix for boot-time hang on centos' xen
[FreeBSD/FreeBSD.git] / 6 / 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 }