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

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