]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libf2c/libF77/i_dnnt.c
This commit was generated by cvs2svn to compensate for changes in r169185,
[FreeBSD/FreeBSD.git] / contrib / libf2c / libF77 / i_dnnt.c
1 #include "f2c.h"
2
3 #undef abs
4 #include <math.h>
5 integer
6 i_dnnt (doublereal * x)
7 {
8   return (integer) (*x >= 0. ? floor (*x + .5) : -floor (.5 - *x));
9 }