瀏覽代碼

* set result of SetPrecisionMode()

git-svn-id: trunk@2055 -
Jonas Maebe 20 年之前
父節點
當前提交
76857dbca9
共有 2 個文件被更改,包括 2 次插入0 次删除
  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;