Merge from vendor branch OPENSSL:
[dragonfly.git] / contrib / gcc-3.4 / libf2c / libF77 / h_dnnt.c
1 #include "f2c.h"
2
3 #undef abs
4 #include <math.h>
5 shortint
6 h_dnnt (doublereal * x)
7 {
8   return (shortint) (*x >= 0. ? floor (*x + .5) : -floor (.5 - *x));
9 }