summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2014-02-14 21:26:54 +0000
committerflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2014-02-14 21:26:54 +0000
commitd48ef9e7c614b9d1a715490439806b1c53128b2b (patch)
treef81b3c2c8e922cac4af576ca7b32cbdc367a6a96
parent81e2656aec212d77fda1222624fe6c2eb803c369 (diff)
downloadfpc-d48ef9e7c614b9d1a715490439806b1c53128b2b.tar.gz
* 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: http://svn.freepascal.org/svn/fpc/trunk@26775 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r--tests/webtbs/tw1901.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/webtbs/tw1901.pp b/tests/webtbs/tw1901.pp
index 9d5545dc6e..1a25d56c20 100644
--- a/tests/webtbs/tw1901.pp
+++ b/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