mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 18:09:15 +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;
|
i := i * 10 * j * i * j * 16 * k;
|
||||||
if i <> 256000 then
|
if i <> 256000 then
|
||||||
result := false;
|
result := false;
|
||||||
|
i := 100000;
|
||||||
|
j := 100;
|
||||||
|
i := i * j;
|
||||||
|
if i <> 10000000 then
|
||||||
|
result := false;
|
||||||
if not result then
|
if not result then
|
||||||
WriteLn('Failure.')
|
WriteLn('Failure.')
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user