mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 09:27:59 +02:00
Improvements to overflow arithmetic
This commit is contained in:
parent
eb375362a1
commit
bf97431cdb
12 changed files with 91 additions and 45 deletions
|
@ -80,7 +80,7 @@ namespace System
|
|||
{
|
||||
for (int32 i = 1; i < 56; i++)
|
||||
{
|
||||
SeedArray[i] -= SeedArray[1 + (i + 30) % 55];
|
||||
SeedArray[i] &-= SeedArray[1 + (i + 30) % 55];
|
||||
if (SeedArray[i] < 0) SeedArray[i] += MBIG;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue