Kaynağa Gözat

* removed the dummy fpc_sin_real and fpc_cos_real that halt with a runtime error
from the i8086 rtl, because the FSIN and FCOS instructions are 387+ and on
earlier FPUs the real helper functions are needed.

git-svn-id: trunk@25535 -

nickysn 12 yıl önce
ebeveyn
işleme
4fc4e4cb88
1 değiştirilmiş dosya ile 0 ekleme ve 14 silme
  1. 0 14
      rtl/i8086/math.inc

+ 0 - 14
rtl/i8086/math.inc

@@ -89,20 +89,6 @@
       runerror(207);
       result:=0;
     end;
-    {$define FPC_SYSTEM_HAS_SIN}
-    function fpc_sin_real(d : ValReal) : ValReal;compilerproc;
-    begin
-      { Function is handled internal in the compiler }
-      runerror(207);
-      result:=0;
-    end;
-    {$define FPC_SYSTEM_HAS_COS}
-    function fpc_cos_real(d : ValReal) : ValReal;compilerproc;
-    begin
-      { Function is handled internal in the compiler }
-      runerror(207);
-      result:=0;
-    end;
 
     {$define FPC_SYSTEM_HAS_EXP}
     function fpc_exp_real(d : ValReal) : ValReal;assembler;compilerproc;