/* $NetBSD: cabs.c,v 1.1 2007/08/20 16:01:30 drochner Exp $ */ /* * Written by Matthias Drochner . * Public domain. */ #include "../src/namespace.h" #include #include double cabs(double complex z) { return hypot(__real__ z, __imag__ z); }