Logo Search packages:      
Sourcecode: mingw-w64 version File versions  Download package

carg.c

/**
 * This file has no copyright assigned and is placed in the Public Domain.
 * This file is part of the w64 mingw-runtime package.
 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
 */
#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;
}


Generated by  Doxygen 1.6.0   Back to index