mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-02 16:07:47 +01:00
* fixed for comp = int64
This commit is contained in:
parent
a3cd612259
commit
15698ca7b3
@ -33,9 +33,13 @@ begin
|
||||
dbl1 := -1e-128;
|
||||
comp1 := comp(dbl1);
|
||||
str(comp1,s);
|
||||
{$ifdef cpui386}
|
||||
if s<>'-6.53142228756617E+0018' then
|
||||
{$else cpui386}
|
||||
if s<>'-6531422287566170215' then
|
||||
{$endif cpui386}
|
||||
begin
|
||||
writeln('error');
|
||||
halt(1);
|
||||
end;
|
||||
end.
|
||||
end.
|
||||
Loading…
Reference in New Issue
Block a user