Ver código fonte

* set result of SetPrecisionMode()

git-svn-id: trunk@2055 -
Jonas Maebe 20 anos atrás
pai
commit
76857dbca9
2 arquivos alterados com 2 adições e 0 exclusões
  1. 1 0
      rtl/powerpc/mathu.inc
  2. 1 0
      rtl/powerpc64/mathu.inc

+ 1 - 0
rtl/powerpc/mathu.inc

@@ -73,6 +73,7 @@ end;
 function SetPrecisionMode(const Precision: TFPUPrecisionMode): TFPUPrecisionMode;
 begin
   { nothing to do, not supported }
+  result := pmDouble;
 end;
 
 

+ 1 - 0
rtl/powerpc64/mathu.inc

@@ -73,6 +73,7 @@ end;
 function SetPrecisionMode(const Precision: TFPUPrecisionMode): TFPUPrecisionMode;
 begin
   { nothing to do, not supported }
+  result := pmDouble;
 end;