projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
f2c libF77 from netlib.att.com Jan 4 1994
[unix-history]
/
lib
/
libF77
/
h_sign.c
#include
"f2c.h"
#ifdef KR_headers
shortint
h_sign
(
a
,
b
)
shortint
*
a
, *
b
;
#else
shortint
h_sign
(
shortint
*
a
,
shortint
*
b
)
#endif
{
shortint x
;
x
= (*
a
>=
0
? *
a
: - *
a
);
return
( *
b
>=
0
?
x
: -
x
);
}