Explorar el Código

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 hace 12 años
padre
commit
92477a14b8
Se han modificado 2 ficheros con 674 adiciones y 106 borrados
  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

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 671 - 104
rtl/inc/softfpu.pp


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio