]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - contrib/libf2c/libF77/h_sign.c
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / contrib / libf2c / libF77 / h_sign.c
1 #include "f2c.h"
2
3 shortint
4 h_sign (shortint * a, shortint * b)
5 {
6   shortint x;
7   x = (*a >= 0 ? *a : -*a);
8   return (*b >= 0 ? x : -x);
9 }