summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/mingwex/complex/cabsf.c
blob: 452e88f1ccfc15466e4e5615fcf795b5eb87c1b2 (plain)
1
2
3
4
5
6
7
#include <math.h>
#include <complex.h>

float cabsf (float complex Z)
{
  return (float) _hypot ( __real__ Z,  __imag__ Z);
}