diff options
author | ljo <ljo@FreeBSD.org> | 1994-11-11 12:56:27 +0000 |
---|---|---|
committer | ljo <ljo@FreeBSD.org> | 1994-11-11 12:56:27 +0000 |
commit | 287e9adfce378bf1beba3406d09fed0a8b72c433 (patch) | |
tree | ca39d55efc2cbff9e003921453da4c7e58d32e43 /lib/msun/src/w_cabs.c | |
parent | 80be3617410adc21563d2d4a05171f05ec3143d6 (diff) | |
download | FreeBSD-src-287e9adfce378bf1beba3406d09fed0a8b72c433.zip FreeBSD-src-287e9adfce378bf1beba3406d09fed0a8b72c433.tar.gz |
Add missing z_abs. In BSD tradition this is in libm.a.
Diffstat (limited to 'lib/msun/src/w_cabs.c')
-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); +} |