newlib/winsup/mingw/mingwex/complex/cabsf.c

8 lines
126 B
C
Executable File

#include <math.h>
#include <complex.h>
float cabsf (float complex Z)
{
return (float) _hypot ( __real__ Z, __imag__ Z);
}