ソースを参照

o patch by Max Nazholov:
* more C code ported
* missing exits fixed
* var-modifier of shortShift128Left fixed
* some range warnings fixed

git-svn-id: trunk@24871 -

florian 12 年 前
コミット
92477a14b8
2 ファイル変更674 行追加106 行削除
  1. 3 2
      rtl/inc/genmath.inc
  2. 671 104
      rtl/inc/softfpu.pp

+ 3 - 2
rtl/inc/genmath.inc

@@ -236,7 +236,7 @@ invalid:
      End;
 
 
-   function float64_to_int64_round_to_zero(a : float64) : int64;
+   function genmath_float64_to_int64_round_to_zero(a : float64) : int64;
      var
        aSign : flag;
        aExp, shiftCount : smallint;
@@ -286,6 +286,7 @@ invalid:
        result:=z;
      end;
 
+
 {$ifndef FPC_SYSTEM_HAS_ExtractFloat32Frac}
   Function ExtractFloat32Frac(a : Float32) : longint;
     Begin
@@ -370,7 +371,7 @@ invalid:
          f64.low:=f64.high;
          f64.high:=l;
 {$endif FPC_DOUBLE_HILO_SWAPPED}
-         result:=float64_to_int64_round_to_zero(f64);
+         result:=genmath_float64_to_int64_round_to_zero(f64);
        end
      else
        begin

ファイルの差分が大きいため隠しています
+ 671 - 104
rtl/inc/softfpu.pp


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません