Commit | Line | Data |
---|---|---|
c93fbb1f | 1 | /* |
f2719741 RE |
2 | * Copyright (c) 1980 Regents of the University of California. |
3 | * All rights reserved. The Berkeley software License Agreement | |
4 | * specifies the terms and conditions for redistribution. | |
5 | * | |
6 | * @(#)c_abs.c 5.1 %G% | |
c93fbb1f DW |
7 | */ |
8 | ||
9 | #include "complex" | |
10 | ||
11 | float c_abs(z) | |
12 | complex *z; | |
13 | { | |
14 | double cabs(); | |
15 | ||
16 | return( cabs( z->real, z->imag ) ); | |
17 | } |