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 df393de commit df6b819Copy full SHA for df6b819
Tests/BinaryParsingTests/TestingSupport.swift
@@ -146,7 +146,7 @@ extension Array where Element == UInt8 {
146
self.append(contentsOf: bytes)
147
}
148
let signAndExponent =
149
- value.exponentBitPattern | (value.sign == .minus ? 1 : 0 << 31)
+ value.exponentBitPattern | (value.sign == .minus ? 1 : 0) << 31
150
Swift.withUnsafeBytes(of: signAndExponent.littleEndian) { bytes in
151
152
0 commit comments