1 /* 2 * Copyright (c) 1980 Regents of the University of California. 3 * All rights reserved. The Berkeley software License Agreement 4 * specifies the terms and conditions for redistribution. 5 * 6 * @(#)i_sign.c 5.1 06/07/85 7 */ 8 9 long int i_sign(a,b) 10 long int *a, *b; 11 { 12 long int x; 13 x = (*a >= 0 ? *a : - *a); 14 return( *b >= 0 ? x : -x); 15 } 16