* config/netbsd.h (CPP_SPEC): Remove.
[official-gcc.git] / libf2c / libF77 / h_dnnt.c
blob005ac6fc41245a322793062e5ff59aca320bae6d
1 #include "f2c.h"
3 #ifdef KR_headers
4 double floor();
5 shortint h_dnnt(x) doublereal *x;
6 #else
7 #undef abs
8 #include <math.h>
9 shortint h_dnnt(doublereal *x)
10 #endif
12 return (shortint)(*x >= 0. ? floor(*x + .5) : -floor(.5 - *x));