diff options
Diffstat (limited to 'lib/msun/src')
-rw-r--r-- | lib/msun/src/w_cabs.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/msun/src/w_cabs.c b/lib/msun/src/w_cabs.c index f55a2dd..a62592b 100644 --- a/lib/msun/src/w_cabs.c +++ b/lib/msun/src/w_cabs.c @@ -18,3 +18,10 @@ cabs(z) { return hypot(z.x, z.y); } + +double +z_abs(z) + struct complex *z; +{ + return hypot(z->x, z->y); +} |