Patch for PR 9255
[official-gcc.git] / libf2c / libF77 / i_dnnt.c
blob7a3783d29e2ae2f73e2b486aefedbb58d6e3fc3b
1 #include "f2c.h"
3 #undef abs
4 #include <math.h>
5 integer
6 i_dnnt (doublereal * x)
8 return (integer) (*x >= 0. ? floor (*x + .5) : -floor (.5 - *x));