Explorar o código

* fixed for 64 bit CPUs

florian %!s(int64=20) %!d(string=hai) anos
pai
achega
18c6645bd8
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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.