mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 19:29:24 +02:00
* 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 -
This commit is contained in:
parent
75a13f7e47
commit
ad7a3b2dbf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user