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

cabsf.c « complex « mingwex « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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);
}