☰
Debian Codegraph
@
3.4.1-7
/
/
debian
/
external_deps
/
fetk
/
punc
/
src
/
vf2c
/
h_abs.c
☽
☼
debian/external_deps/fetk/punc/src/vf2c/h_abs.c
code
plain
raw
ATTLucentBellCore
1990 - 1997 AT&T, Lucent Technologies and Bellcore
debian/copyright
1
#include "f2c.h"
2
#ifdef __cplusplus
3
extern "C" {
4
#endif
5
6
#ifdef KR_headers
7
shortint h_abs(x) shortint *x;
8
#else
9
shortint h_abs(shortint *x)
10
#endif
11
{
12
if(*x >= 0)
13
return(*x);
14
return(- *x);
15
}
16
#ifdef __cplusplus
17
}
18
#endif