mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-06 06:20:23 +08:00
10 lines
201 B
C
Executable File
10 lines
201 B
C
Executable File
#include <complex.h>
|
|
double __attribute__ ((const)) carg (double _Complex _Z)
|
|
{
|
|
double res;
|
|
__asm__ ("fpatan;"
|
|
: "=t" (res) : "0" (__real__ _Z), "u" (__imag__ _Z) : "st(1)");
|
|
return res;
|
|
}
|
|
|