Browse Source

+ added comment about the fptan instruction restrictions on the 8087 and 80287

git-svn-id: trunk@36326 -
nickysn 8 năm trước cách đây
mục cha
commit
9946393018
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      rtl/i8086/mathu.inc

+ 4 - 0
rtl/i8086/mathu.inc

@@ -58,6 +58,10 @@ procedure sincos(theta : single;out sinus,cosinus : single);assembler;
   end;}
 
 
+{NOTE: the fpatan instruction on the 8087 and 80287 has the following restrictions:
+            0 <= ST(0) <= PI/4
+       so the following code requires a 387+ and is therefore disabled, so that we use the
+       generic implementation, until an asm optimized version, compatible with 8087/80287 is written }
 {//$define FPC_MATH_HAS_TAN}
 {function tan(x : float) : float;assembler;
   asm