1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-26 20:35:21 +01:00

Merge branch '3.0'

This commit is contained in:
terrafrost 2023-08-31 09:30:23 -05:00
commit 0893147281

View File

@ -82,10 +82,10 @@ class PHP32 extends PHP
}
$step = count($vals) & 3;
if ($step) {
$digit = floor($digit / 2 ** (2 * $step));
$digit = (int) floor($digit / 2 ** (2 * $step));
}
if ($step != 3) {
$digit &= static::MAX_DIGIT;
$digit = (int) fmod($digit, static::BASE_FULL);
$i++;
}
$vals[] = $digit;