mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 17:48:46 +02:00
* fixed for 64 bit CPUs
This commit is contained in:
parent
dde36768ec
commit
18c6645bd8
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user