Debian Codegraph @

debian/external_deps/fetk/punc/src/vf2c/r_abs.c

raw
1 #include "f2c.h"
2 #ifdef __cplusplus
3 extern "C" {
4 #endif
5
6 #ifdef KR_headers
7 double r_abs(x) real *x;
8 #else
9 double r_abs(real *x)
10 #endif
11 {
12 if(*x >= 0)
13 return(*x);
14 return(- *x);
15 }
16 #ifdef __cplusplus
17 }
18 #endif