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

cargf.c « complex « mingwex « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 360beefe40b68c84034c1cade07e03a4052d0f2e (plain)
1
2
3
4
5
6
7
8
9
#include <complex.h>
float  __attribute__ ((const)) cargf (float _Complex _Z)
{
  float res;
  __asm__ ("fpatan;"
	   : "=t" (res) : "0" (__real__ _Z), "u" (__imag__ _Z) : "st(1)");
  return res;
}