/*
 * Written by J.T. Conklin <[email protected]>.
 * Public domain.
 *
 * Adapted for `long double' by Ulrich Drepper <[email protected]>.
 */

#include <math.h>

long double
atanl (long double x)
{
  long double res;

  asm ("fld1\n\t"
       "fpatan"
       : "=t" (res) : "0" (x));
  return res;
}
Download atanl.c — origineel C-bestand