Sign in
mingw
/
mingw-w64
/
518dd33c326f65684e8e938262b2a9ca94804cfb
/
.
/
mingw-w64-crt
/
math
/
atan2f.c
blob: c31f43b91eecac3d2ce4ee0748133cfa5649663c [
file
] [
log
] [
blame
]
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*
*/
#include
<math.h>
float
atan2f
(
float
y
,
float
x
)
{
float
res
;
asm
(
"fpatan"
:
"=t"
(
res
)
:
"u"
(
y
),
"0"
(
x
)
:
"st(1)"
);
return
res
;
}