swift-numerics
swift-numerics copied to clipboard
[CI] Enable License header check
trafficstars
Run curl -s https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/check-license-header.sh | bash
curl -s https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/check-license-header.sh | bash
shell: /usr/bin/bash -e {0}
env:
PROJECT_NAME: Swift Numerics
--- Expected header
+++ Package.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+// swift-tools-version:5.5
+//===--- Package.swift ----------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import PackageDescription
--- Expected header
+++ Sources/ComplexModule/Complex+AdditiveArithmetic.swift
@@ -1,13 +1,12 @@
-//===----------------------------------------------------------------------===//
+//===--- Complex+AdditiveArithmetic.swift ---------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import RealModule
--- Expected header
+++ Sources/ComplexModule/Complex+AlgebraicField.swift
@@ -1,13 +1,12 @@
-//===----------------------------------------------------------------------===//
+//===--- Complex+AlgebraicField.swift -------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import RealModule
--- Expected header
+++ Sources/ComplexModule/Complex+Codable.swift
@@ -1,13 +1,12 @@
-//===----------------------------------------------------------------------===//
+//===--- Complex+Codable.swift --------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import RealModule
--- Expected header
+++ Sources/ComplexModule/Complex+ElementaryFunctions.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- Complex+ElementaryFunctions.swift --------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+// Implementation goals, in order of priority:
--- Expected header
+++ Sources/ComplexModule/Complex+Hashable.swift
@@ -1,13 +1,12 @@
-//===----------------------------------------------------------------------===//
+//===--- Complex+Hashable.swift -------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import RealModule
--- Expected header
+++ Sources/ComplexModule/Complex+IntegerLiteral.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- Complex+IntegerLiteral.swift -------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+extension Complex: ExpressibleByIntegerLiteral {
+ public typealias IntegerLiteralType = RealType.IntegerLiteralType
--- Expected header
+++ Sources/ComplexModule/Complex+Numeric.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- Complex+Numeric.swift --------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+extension Complex: Numeric {
+
--- Expected header
+++ Sources/ComplexModule/Complex+StringConvertible.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- Complex+StringConvertible.swift ----------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+extension Complex: CustomStringConvertible {
+ public var description: String {
--- Expected header
+++ Sources/ComplexModule/Complex.swift
@@ -1,13 +1,12 @@
-//===----------------------------------------------------------------------===//
+//===--- Complex.swift ----------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import RealModule
--- Expected header
+++ Sources/ComplexModule/Polar.swift
@@ -1,13 +1,12 @@
-//===----------------------------------------------------------------------===//
+//===--- Polar.swift ------------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import RealModule
--- Expected header
+++ Sources/ComplexModule/Scale.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- Scale.swift ------------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+// Policy: deliberately not using the * and / operators for these at the
+// moment, because then there's an ambiguity in expressions like 2*z; is
--- Expected header
+++ Sources/IntegerUtilities/DivideWithRounding.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- DivideWithRounding.swift -----------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+extension BinaryInteger {
+ /// `self` divided by `other`, rounding the result according to `rule`.
--- Expected header
+++ Sources/IntegerUtilities/GCD.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- GCD.swift --------------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+/// The [greatest common divisor][gcd] of `a` and `b`.
+///
--- Expected header
+++ Sources/IntegerUtilities/Rotate.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- Rotate.swift -----------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+extension FixedWidthInteger {
+ @_transparent @usableFromInline
--- Expected header
+++ Sources/IntegerUtilities/RoundingRule.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- RoundingRule.swift -----------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+// TODO: it's unfortunate that we can't specify a custom random source
+// for the stochastic rounding rule, but I don't see a nice way to have
--- Expected header
+++ Sources/IntegerUtilities/SaturatingArithmetic.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- SaturatingArithmetic.swift ---------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+extension FixedWidthInteger {
+ /// `~0` (all-ones) if this value is negative, otherwise `0`.
--- Expected header
+++ Sources/IntegerUtilities/ShiftWithRounding.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- ShiftWithRounding.swift ------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+extension BinaryInteger {
+ /// `self` divided by 2^(`count`), rounding the result according to `rule`.
--- Expected header
+++ Sources/Numerics/Numerics.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- Numerics.swift ---------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+// A module that re-exports the complete Swift Numerics public API.
+@_exported import ComplexModule
--- Expected header
+++ Sources/RealModule/AlgebraicField.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- AlgebraicField.swift ---------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+/// A type modeling an algebraic [field]. Refines the `SignedNumeric` protocol,
+/// adding division.
--- Expected header
+++ Sources/RealModule/ApproximateEquality.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- ApproximateEquality.swift ----------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+extension Numeric where Magnitude: FloatingPoint {
+ /// Test if `self` and `other` are approximately equal.
--- Expected header
+++ Sources/RealModule/AugmentedArithmetic.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- AugmentedArithmetic.swift ----------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+/// A namespace for "augmented arithmetic" operations for types conforming to
+/// `Real`.
--- Expected header
+++ Sources/RealModule/Double+Real.swift
@@ -1,13 +1,12 @@
-//===----------------------------------------------------------------------===//
+//===--- Double+Real.swift ------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import _NumericsShims
--- Expected header
+++ Sources/RealModule/ElementaryFunctions.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- ElementaryFunctions.swift ----------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+/// A type that has elementary functions available.
+///
--- Expected header
+++ Sources/RealModule/Float+Real.swift
@@ -1,13 +1,12 @@
-//===----------------------------------------------------------------------===//
+//===--- Float+Real.swift -------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import _NumericsShims
--- Expected header
+++ Sources/RealModule/Float16+Real.swift
@@ -1,13 +1,12 @@
-//===----------------------------------------------------------------------===//
+//===--- Float16+Real.swift -----------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import _NumericsShims
--- Expected header
+++ Sources/RealModule/Float80+Real.swift
@@ -1,13 +1,12 @@
-//===----------------------------------------------------------------------===//
+//===--- Float80+Real.swift -----------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import _NumericsShims
--- Expected header
+++ Sources/RealModule/Real.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- Real.swift -------------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+/// A type that models the real numbers.
+///
--- Expected header
+++ Sources/RealModule/RealFunctions.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- RealFunctions.swift ----------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+public protocol RealFunctions: ElementaryFunctions {
+ /// `atan(y/x)`, with sign selected according to the quadrant of `(x, y)`.
--- Expected header
+++ Sources/RealModule/RelaxedArithmetic.swift
@@ -1,13 +1,12 @@
-//===----------------------------------------------------------------------===//
+//===--- RelaxedArithmetic.swift ------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import _NumericsShims
--- Expected header
+++ Sources/_NumericsShims/_NumericsShims.c
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- NumericsShims.c --------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+// This file exists only to trigger the NumericShims module to build; without
+// it swiftpm won't build anything, and then the shims are not available for
--- Expected header
+++ Sources/_NumericsShims/include/_NumericsShims.h
@@ -1,13 +1,12 @@
-//===----------------------------------------------------------------------===//
+//===--- NumericsShims.h --------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+#define HEADER_SHIM static inline __attribute__((__always_inline__))
--- Expected header
+++ Sources/_TestSupport/BlackHole.swift
@@ -1,13 +1,12 @@
-//===----------------------------------------------------------------------===//
+//===--- BlackHole.swift --------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import _NumericsShims
--- Expected header
+++ Sources/_TestSupport/DoubleWidth.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- DoubleWidth.swift ------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+/// A fixed-width integer that has twice the bit width of its base type.
+///
--- Expected header
+++ Sources/_TestSupport/Error.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- Error.swift ------------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+import ComplexModule
--- Expected header
+++ Sources/_TestSupport/Interval.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- Interval.swift ---------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+// A not-particularly-clever floating-point iterval that is iterable for the
--- Expected header
+++ Sources/_TestSupport/RealTestSupport.swift
@@ -1,13 +1,12 @@
-//===----------------------------------------------------------------------===//
+//===--- RealTestSupport.swift --------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import RealModule
--- Expected header
+++ Tests/ComplexTests/ApproximateEqualityTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- ApproximateEqualityTests.swift -----------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+import Numerics
--- Expected header
+++ Tests/ComplexTests/ArithmeticTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- ArithmeticTests.swift --------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import XCTest
+import ComplexModule
--- Expected header
+++ Tests/ComplexTests/ElementaryFunctionTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- ElementaryFunctionTests.swift ------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+import XCTest
--- Expected header
+++ Tests/ComplexTests/PropertyTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- PropertyTests.swift ----------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import XCTest
+import ComplexModule
--- Expected header
+++ Tests/Executable/ComplexLog/main.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- main.swift -------------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+import Numerics
--- Expected header
+++ Tests/Executable/ComplexLog1p/main.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- main.swift -------------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+import Numerics
--- Expected header
+++ Tests/IntegerUtilitiesTests/DivideTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- DivideTests.swift ------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+import IntegerUtilities
--- Expected header
+++ Tests/IntegerUtilitiesTests/DoubleWidthTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- DoubleWidthTests.swift -------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import _TestSupport
+import XCTest
--- Expected header
+++ Tests/IntegerUtilitiesTests/GCDTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- GCDTests.swift ---------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+import IntegerUtilities
--- Expected header
+++ Tests/IntegerUtilitiesTests/RotateTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- RotateTests.swift ------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+import IntegerUtilities
--- Expected header
+++ Tests/IntegerUtilitiesTests/RoundingTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- RoundingTests.swift ----------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+import IntegerUtilities
--- Expected header
+++ Tests/IntegerUtilitiesTests/SaturatingArithmeticTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- SaturatingArithmeticTests.swift ----------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+import IntegerUtilities
--- Expected header
+++ Tests/IntegerUtilitiesTests/ShiftTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- ShiftTests.swift -------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+import IntegerUtilities
--- Expected header
+++ Tests/RealTests/ApproximateEqualityTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- ApproximateEqualityTests.swift -----------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+import RealModule
--- Expected header
+++ Tests/RealTests/AugmentedArithmeticTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- AugmentedArithmeticTests.swift -----------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
+// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
+
+import RealModule
--- Expected header
+++ Tests/RealTests/ElementaryFunctionChecks.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- ElementaryFunctionChecks.swift ------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import XCTest
+import RealModule
--- Expected header
+++ Tests/RealTests/IntegerExponentTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- IntegerExponentTests.swift ---------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import XCTest
+import RealModule
--- Expected header
+++ Tests/RealTests/RelaxedArithmeticTests.swift
@@ -1,13 +1,13 @@
-//===----------------------------------------------------------------------===//
+//===--- RelaxedArithmeticTests.swift -------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-// Licensed under Apache License v2.0
-//
-// See LICENSE.txt for license information
-// See CONTRIBUTORS.txt for the list of Swift Numerics project authors
+// Licensed under Apache License v2.0 with Runtime Library Exception
//
-// SPDX-License-Identifier: Apache-2.0
+// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//
+
+import XCTest
+import RealModule
--- Expected header
+++ cmake/modules/SwiftSupport.cmake
@@ -1,13 +1,13 @@
-##===----------------------------------------------------------------------===##
-##
-## This source file is part of the Swift Numerics open source project
-##
-## Copyright (c) YEARS Apple Inc. and the Swift Numerics project authors
-## Licensed under Apache License v2.0
-##
-## See LICENSE.txt for license information
-## See CONTRIBUTORS.txt for the list of Swift Numerics project authors
-##
-## SPDX-License-Identifier: Apache-2.0
-##
-##===----------------------------------------------------------------------===##
+#[[
+This source file is part of the Swift Numerics open source project
+
+Copyright (c) YEARS 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
+#]]
+
+# Returns the architecture name in a variable
+#
+# Usage:
+# get_swift_host_arch(result_var_name)
** ERROR: ❌ Found missing license header in files: Package.swift Sources/ComplexModule/Complex+AdditiveArithmetic.swift Sources/ComplexModule/Complex+AlgebraicField.swift Sources/ComplexModule/Complex+Codable.swift Sources/ComplexModule/Complex+ElementaryFunctions.swift Sources/ComplexModule/Complex+Hashable.swift Sources/ComplexModule/Complex+IntegerLiteral.swift Sources/ComplexModule/Complex+Numeric.swift Sources/ComplexModule/Complex+StringConvertible.swift Sources/ComplexModule/Complex.swift Sources/ComplexModule/Polar.swift Sources/ComplexModule/Scale.swift Sources/IntegerUtilities/DivideWithRounding.swift Sources/IntegerUtilities/GCD.swift Sources/IntegerUtilities/Rotate.swift Sources/IntegerUtilities/RoundingRule.swift Sources/IntegerUtilities/SaturatingArithmetic.swift Sources/IntegerUtilities/ShiftWithRounding.swift Sources/Numerics/Numerics.swift Sources/RealModule/AlgebraicField.swift Sources/RealModule/ApproximateEquality.swift Sources/RealModule/AugmentedArithmetic.swift Sources/RealModule/Double+Real.swift Sources/RealModule/ElementaryFunctions.swift Sources/RealModule/Float+Real.swift Sources/RealModule/Float16+Real.swift Sources/RealModule/Float80+Real.swift Sources/RealModule/Real.swift Sources/RealModule/RealFunctions.swift Sources/RealModule/RelaxedArithmetic.swift Sources/_NumericsShims/_NumericsShims.c Sources/_NumericsShims/include/_NumericsShims.h Sources/_TestSupport/BlackHole.swift Sources/_TestSupport/DoubleWidth.swift Sources/_TestSupport/Error.swift Sources/_TestSupport/Interval.swift Sources/_TestSupport/RealTestSupport.swift Tests/ComplexTests/ApproximateEqualityTests.swift Tests/ComplexTests/ArithmeticTests.swift Tests/ComplexTests/ElementaryFunctionTests.swift Tests/ComplexTests/PropertyTests.swift Tests/Executable/ComplexLog/main.swift Tests/Executable/ComplexLog1p/main.swift Tests/IntegerUtilitiesTests/DivideTests.swift Tests/IntegerUtilitiesTests/DoubleWidthTests.swift Tests/IntegerUtilitiesTests/GCDTests.swift Tests/IntegerUtilitiesTests/RotateTests.swift Tests/IntegerUtilitiesTests/RoundingTests.swift Tests/IntegerUtilitiesTests/SaturatingArithmeticTests.swift Tests/IntegerUtilitiesTests/ShiftTests.swift Tests/RealTests/ApproximateEqualityTests.swift Tests/RealTests/AugmentedArithmeticTests.swift Tests/RealTests/ElementaryFunctionChecks.swift Tests/RealTests/IntegerExponentTests.swift Tests/RealTests/RelaxedArithmeticTests.swift cmake/modules/SwiftSupport.cmake .
Error: Process completed with exit code 1.