/ atan2.s (emx+gcc) -- Copyright (c) 1991-1993 by Eberhard Mattes

#include <libm.h>

        .globl  FUN(atan2)

        .text

        .align  2, 0x90

/ double atan2 (double y, double x)

#define y        4(%esp)
#if defined (LONG_DOUBLE)
#define x       16(%esp)
#else
#define x       12(%esp)
#endif

DEF(atan2)
        FLD     y                       / y
        FLD     x                       / x
        fpatan
        ret
