mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 04:49:19 +02:00
* fixed for 64 bit CPUs
This commit is contained in:
parent
dde36768ec
commit
18c6645bd8
@ -6,7 +6,15 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
var
|
var
|
||||||
|
{$ifdef CPU64}
|
||||||
|
s : double;
|
||||||
|
{$else}
|
||||||
s : single;
|
s : single;
|
||||||
|
{$endif CPU64}
|
||||||
begin
|
begin
|
||||||
|
{$ifdef CPU64}
|
||||||
|
s := double(f);
|
||||||
|
{$else CPU64}
|
||||||
s := single(f);
|
s := single(f);
|
||||||
|
{$endif CPU64}
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user