Browse Source

* explicitly type cast constants so the compiler does not use smaller types if an fpu instruction set is selected which does not support the highest precision type

git-svn-id: trunk@26775 -
florian 11 years ago
parent
commit
ad7a3b2dbf
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tests/webtbs/tw1901.pp

+ 3 - 3
tests/webtbs/tw1901.pp

@@ -9,9 +9,9 @@
 {$Q-}
 {$R-}
 
-const Inf=1/0;
-      NaN=0/0;
-      MinusInf=-Inf;
+const Inf=extended(1/0);
+      NaN=extended(0/0);
+      MinusInf=extended(-Inf);
 
 function make_str( tail: string ): string;
 var