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.
2 parents b327dbf + 8d5c010 commit 7ec46f0Copy full SHA for 7ec46f0
validation-test/stdlib/FixedPoint.swift.gyb
@@ -8,6 +8,7 @@ var FixedPoint = TestSuite("FixedPoint")
8
9
%{
10
11
+from __future__ import division
12
import gyb
13
from SwiftIntTypes import all_integer_types
14
@@ -248,7 +249,7 @@ FixedPoint.test("${Self}.hash(into:)") {
248
249
% if self_ty.bits == 64:
250
let expected = Hasher._hash(seed: 0, ${reference} as UInt64)
251
% else:
- let expected = Hasher._hash(seed: 0, bytes: ${reference}, count: ${self_ty.bits / 8})
252
+ let expected = Hasher._hash(seed: 0, bytes: ${reference}, count: ${self_ty.bits // 8})
253
% end
254
expectEqual(expected, output, "input: \(input)")
255
}
0 commit comments