mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +02:00
+ added more testing of cardinal multiplication
This commit is contained in:
parent
f48ec4a18f
commit
6ccbe4bc0d
@ -106,6 +106,11 @@ begin
|
||||
i := i * 10 * j * i * j * 16 * k;
|
||||
if i <> 256000 then
|
||||
result := false;
|
||||
i := 100000;
|
||||
j := 100;
|
||||
i := i * j;
|
||||
if i <> 10000000 then
|
||||
result := false;
|
||||
if not result then
|
||||
WriteLn('Failure.')
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user