projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
checked in for jerry
[unix-history]
/
usr
/
src
/
usr.bin
/
f77
/
libF77
/
i_sign.c
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* @(#)i_sign.c 5.1 %G%
*/
long int
i_sign
(
a
,
b
)
long int
*
a
, *
b
;
{
long int
x
;
x
= (*
a
>=
0
? *
a
: - *
a
);
return
( *
b
>=
0
?
x
: -
x
);
}