summaryrefslogtreecommitdiffstats
path: root/lib/msun/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/src')
-rw-r--r--lib/msun/src/w_cabs.c7
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);
+}
OpenPOWER on IntegriCloud