| 1 |
/* ./src_f77/dcabs1.f -- translated by f2c (version 20030320). |
| 2 |
You must link the resulting object file with the libraries: |
| 3 |
-lf2c -lm (in that order) |
| 4 |
*/ |
| 5 |
|
| 6 |
#include <punc/vf2c.h> |
| 7 |
|
| 8 |
doublereal dcabs1_(doublecomplex *z__) |
| 9 |
{ |
| 10 |
/* System generated locals */ |
| 11 |
doublereal ret_val; |
| 12 |
static doublecomplex equiv_0[1]; |
| 13 |
|
| 14 |
/* Local variables */ |
| 15 |
#define t ((doublereal *)equiv_0) |
| 16 |
#define zz (equiv_0) |
| 17 |
|
| 18 |
zz->r = z__->r, zz->i = z__->i; |
| 19 |
ret_val = abs(t[0]) + abs(t[1]); |
| 20 |
return ret_val; |
| 21 |
} /* dcabs1_ */ |
| 22 |
|
| 23 |
#undef zz |
| 24 |
#undef t |
| 25 |
|
| 26 |
|