blob: aedbdef217cad61dc0659909f18d6de80b36a69e [file] [log] [blame]
/*
* cabsf() wrapper for hypotf().
*
* Written by J.T. Conklin, <jtc@wimsey.com>
* Placed into the Public Domain, 1994.
*/
#include <complex.h>
#include <math.h>
#include "math_private.h"
float
cabsf(float complex z)
{
return hypotf(crealf(z), cimagf(z));
}