mirror of
https://github.com/apple/swift-numerics
synced 2026-11-22 04:30:45 +00:00
Merge pull request #304 from stephentyrone/language-cleanup
s/sanity check/basic check/
This commit is contained in:
1 file changed
+1
-1
@@ -102,7 +102,7 @@ final class RelaxedArithmeticTests: XCTestCase {
|
||||
// Summing all values in an array can be associated however we want, but
|
||||
// has to satisfy the usual error bound of 0.5 * sum.ulp * numberOfElements.
|
||||
// We don't have a golden reference, but we can compare two sums with twice
|
||||
// the bound for a sanity check. // ignore-unacceptable-language
|
||||
// the bound for a basic check.
|
||||
let array = (0 ..< 128).map { _ in T.random(in: 1 ..< 2) }
|
||||
var ref = strictSum(array)
|
||||
var tst = relaxedSum(array)
|
||||
|
||||
Reference in new issue
Block a user