Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cabs.c « complex « mingwex « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ff547dd6eef3c42a2823831d3711ebc69c771411 (plain)
1
2
3
4
5
6
7
#include <math.h>
#include <complex.h>

double cabs (double complex Z)
{
  return _hypot ( __real__ Z,  __imag__ Z);
}