Sign in
third-party-mirror
/
mingw-w64
/
7cdb53961187ee6d1a487af1d45951247c6ef66a
/
.
/
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
;
}