|
|
1.1 root 1: /*
2: * Complex absolute value.
3: */
4: #include <math.h>
5:
6: #if EMU87
7: #include "emumath.h"
8: #endif
9:
10: double
11: cabs(z)
12: CPX z;
13: {
14: return (hypot(z.z_r, z.z_i));
15: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.