We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32e8dfa commit bddf179Copy full SHA for bddf179
src/Util/UInt64String.php
@@ -55,19 +55,18 @@ function ___shiftRight($word, $bits)
55
$m = -1 << (64 - $bits);
56
57
if ($bits >= 32)
58
- return static::___pack(-1, ($wordHi >> ($bits - 32)) | $m);
+ return static::___pack(
59
+ -1
60
+ ,
61
+ //
62
+ ($wordHi >> ($bits - 32)) | $m);
63
else
- {
-
- $n = ~$m;
64
return static::___pack(
65
($wordHi >> $bits) | (-1 << (32 - $bits))
66
,
67
//
68
- (($wordLo >> $bits & $n) |
+ (($wordLo >> $bits & ($n = ~$m)) |
69
($wordHi << (32 - $bits))) & $n);
70
- }
71
}
72
73
0 commit comments