+ i8086 asm implementation of math.arctan2, based on the i386 version

git-svn-id: trunk@26154 -
This commit is contained in:
nickysn 2013-11-29 18:40:31 +00:00
parent 6a40ff730c
commit fcfb73f508

View File

@ -13,14 +13,14 @@
**********************************************************************}
{$ASMMODE intel}
{//$define FPC_MATH_HAS_ARCTAN2}
{function arctan2(y,x : float) : float;assembler;
{$define FPC_MATH_HAS_ARCTAN2}
function arctan2(y,x : float) : float;assembler;
asm
fldt y
fldt x
fpatan
fwait
end;}
fld tbyte [y]
fld tbyte [x]
fpatan
fwait
end;
{//$define FPC_MATH_HAS_SINCOS}