File tree Expand file tree Collapse file tree 4 files changed +22
-3
lines changed Expand file tree Collapse file tree 4 files changed +22
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Pull request
2
+
3
+ on :
4
+ pull_request :
5
+ types : [opened, reopened, synchronize]
6
+
7
+ jobs :
8
+ tests :
9
+ name : Test
10
+ uses : swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
11
+ soundness :
12
+ name : Soundness
13
+ uses : swiftlang/github-workflows/.github/workflows/soundness.yml@main
14
+ with :
15
+ license_header_check_project_name : " Swift Numerics"
16
+ # https://github.com/apple/swift-numerics/issues/303
17
+ license_header_check_enabled : false
18
+ # https://github.com/apple/swift-numerics/issues/302
19
+ format_check_enabled : false
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ Swift Numerics uses GitHub issues to track bugs and features. We use pull reques
84
84
1 . Raise an issue with the [ new module] tag.
85
85
2 . Raise a PR with an implementation sketch.
86
86
3 . Once you have some consensus, ask an admin to create a feature branch against which PRs can be raised.
87
- 4 . When the design has stabilized and is functional enough to be useful, raise a PR to merge the new module to master .
87
+ 4 . When the design has stabilized and is functional enough to be useful, raise a PR to merge the new module to main .
88
88
89
89
### How to propose a new feature for an existing module
90
90
Original file line number Diff line number Diff line change @@ -73,5 +73,5 @@ Not having this protocol is a significant missing feature for numerical computin
73
73
74
74
[ ErrorFunction ] : https://en.wikipedia.org/wiki/Error_function
75
75
[ GammaFunction ] : https://en.wikipedia.org/wiki/Gamma_function
76
- [ SE-0246 ] : https://github.com/apple /swift-evolution/blob/master /proposals/0246-mathable.md
76
+ [ SE-0246 ] : https://github.com/swiftlang /swift-evolution/blob/main /proposals/0246-mathable.md
77
77
[ Sigmoid ] : https://en.wikipedia.org/wiki/Sigmoid_function
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ final class RelaxedArithmeticTests: XCTestCase {
102
102
// Summing all values in an array can be associated however we want, but
103
103
// has to satisfy the usual error bound of 0.5 * sum.ulp * numberOfElements.
104
104
// We don't have a golden reference, but we can compare two sums with twice
105
- // the bound for a sanity check.
105
+ // the bound for a sanity check. // ignore-unacceptable-language
106
106
let array = ( 0 ..< 128 ) . map { _ in T . random ( in: 1 ..< 2 ) }
107
107
var ref = strictSum ( array)
108
108
var tst = relaxedSum ( array)
You can’t perform that action at this time.
0 commit comments