ソースを参照

* fixed for 64 bit CPUs

florian 20 年 前
コミット
18c6645bd8
1 ファイル変更8 行追加0 行削除
  1. 8 0
      tests/webtbs/tw3694.pp

+ 8 - 0
tests/webtbs/tw3694.pp

@@ -6,7 +6,15 @@ begin
 end;
 
 var
+{$ifdef CPU64}
+  s : double;
+{$else}
   s : single;
+{$endif CPU64}
 begin
+{$ifdef CPU64}
+  s := double(f);
+{$else CPU64}
   s := single(f);
+{$endif CPU64}
 end.