diff options
Diffstat (limited to 'libm')
-rw-r--r-- | libm/w_cabs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libm/w_cabs.c b/libm/w_cabs.c index f55a2dde8..e5092a401 100644 --- a/libm/w_cabs.c +++ b/libm/w_cabs.c @@ -12,9 +12,7 @@ struct complex { double y; }; -double -cabs(z) - struct complex z; +double cabs(struct complex z) { return hypot(z.x, z.y); } |