mirror of
https://github.com/apple/swift-numerics
synced 2026-11-23 04:34:25 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4329602833 | ||
|
|
d875fdbd0b | ||
|
|
39f94b7c7b | ||
|
|
2760aa4ba4 | ||
|
|
a27ffc7c63 | ||
|
|
a301489b9a | ||
|
|
0ed7e786b5 | ||
|
|
86e9087ab5 |
No files matched your search
@@ -1,6 +1,5 @@
|
||||
.DS_Store
|
||||
/*XCTestManifests.swift
|
||||
/Test/LinuxMain.swift
|
||||
/.build
|
||||
/Packages
|
||||
/*.xcodeproj
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
[SE-0246] proposed an API for "basic math functions" that would make operations like sine and logarithm available in generic contexts.
|
||||
It was accepted, but because of limitations in the compiler, the API could not be added to the standard library in a source-stable manner.
|
||||
The `Real` [module][Real] provides that API as a separate module so that you can use it right away to get access to the improved API for these operations in your projects.
|
||||
The `Real` module provides that API as a separate module so that you can use it right away to get access to the improved API for these operations in your projects.
|
||||
|
||||
## Protocols and Methods
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
//===--- LinuxMain.swift --------------------------------------*- swift -*-===//
|
||||
//
|
||||
// This source file is part of the Swift Numerics open source project
|
||||
//
|
||||
// Copyright (c) 2019 Apple Inc. and the Swift Numerics project authors
|
||||
// Licensed under Apache License v2.0 with Runtime Library Exception
|
||||
//
|
||||
// See https://swift.org/LICENSE.txt for license information
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
fatalError("Use --enable-test-discovery to run Swift Numerics tests on Linux.")
|
||||
@@ -105,24 +105,5 @@ final class ElementaryFunctionTests: XCTestCase {
|
||||
Float80.elementaryFunctionTests()
|
||||
Float80.realFunctionTests()
|
||||
}
|
||||
|
||||
static var allTests = [
|
||||
("testFloat", testFloat),
|
||||
("testDouble", testDouble),
|
||||
("testFloat80", testFloat80),
|
||||
]
|
||||
#else
|
||||
static var allTests = [
|
||||
("testFloat", testFloat),
|
||||
("testDouble", testDouble),
|
||||
]
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !(os(macOS) || os(iOS) || os(watchOS) || os(tvOS))
|
||||
public func allTests() -> [XCTestCaseEntry] {
|
||||
return [
|
||||
testCase(ComplexTests.allTests),
|
||||
]
|
||||
}
|
||||
#endif
|
||||
Reference in new issue
Block a user