Patch for PR 9255
[official-gcc.git] / libf2c / libF77 / h_sign.c
blob70402325be211a36166919d6326f411d84e5d36d
1 #include "f2c.h"
3 shortint
4 h_sign (shortint * a, shortint * b)
6 shortint x;
7 x = (*a >= 0 ? *a : -*a);
8 return (*b >= 0 ? x : -x);