We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cffa545 commit ba41beaCopy full SHA for ba41bea
Sources/RandomKit/Types/RandomGenerator/Xoroshiro.swift
@@ -73,7 +73,7 @@ public struct Xoroshiro: RandomBytesGenerator, SeedableFromOtherRandomGenerator
73
@inline(__always)
74
func doThings(with value: UInt64) {
75
for i: UInt64 in 0 ..< 64 {
76
- if (value & 1) << i != 0 {
+ if value & 1 << i != 0 {
77
s0 ^= _state.0
78
s1 ^= _state.1
79
}
0 commit comments