Browse Source

* fixed for 64 bit CPUs

florian 20 năm trước cách đây
mục cha
commit
18c6645bd8
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  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.