mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 20:39:25 +02:00
+ i8086 asm implementation of math.arctan2, based on the i386 version
git-svn-id: trunk@26154 -
This commit is contained in:
parent
6a40ff730c
commit
fcfb73f508
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user