]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - contrib/libf2c/libF77/h_sign.c
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.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 }