Build Information
Failed to build Euler, reference 0.3.12 (f54c76), with Swift 6.3 for Wasm on 20 Apr 2026 21:01:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:331:19: error: ambiguous use of operator '!='
329 | func LOG(_ n: BigDouble, base: BigDouble = 10) throws -> BigDouble {
330 | let den = LN(base)
331 | guard den != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
332 | return LN(n) / den
333 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:452:27: error: ambiguous use of operator '!='
450 | /// - denominator: The divisor.
451 | func QUOTIENT(_ numerator: BigDouble, _ denominator: BigDouble) throws -> BigInt {
452 | guard denominator != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
453 | let div = numerator / denominator
454 | return ceil(div)
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:507:34: error: ambiguous use of operator '>'
505 | /// - digits: The number of digits to which you want to round number.
506 | func ROUNDDOWN(_ n: BigDouble, digits: BigInt) -> BigDouble {
507 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
508 | let powed = pow(10, digits)
509 | return sign * BigDouble(floor(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:517:34: error: ambiguous use of operator '>'
515 | /// - digits: The number of digits to which you want to round number.
516 | func ROUNDUP(_ n: BigDouble, digits: BigInt) -> BigDouble {
517 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
518 | let powed = pow(10, digits)
519 | return sign * BigDouble(ceil(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:578:22: error: ambiguous use of operator '=='
576 | if (n.sign == true) {
577 | return -1;
578 | } else if (n == .zero) {
| `- error: ambiguous use of operator '=='
579 | return 0;
580 | } else {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:318:24: note: found this candidate
316 | return BigDouble.nearlyEqual(self, rhs, epsilon: epsilon)
317 | }
318 | public static func ==(lhs: BigDouble, rhs: BigDouble) -> Bool {
| `- note: found this candidate
319 | if lhs.sign != rhs.sign { return false }
320 | if lhs.numerator != rhs.numerator { return false }
:
323 | return true
324 | }
325 | public static func ==(lhs: BigDouble, rhs: Double) -> Bool { return lhs == BigDouble(rhs) }
| `- note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:647:17: error: ambiguous use of operator '!='
645 | /// - b: Any real
646 | func DIVIDE(_ a: BigDouble, _ b: BigDouble) throws -> BigDouble {
647 | guard b != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
648 | return a / b
649 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:806:28: error: ambiguous use of operator '>'
804 | /// - digits: Optional. A number specifying the precision of the truncation.
805 | func TRUNC(_ number: BigDouble, _ digits: Int = 0) -> BigDouble {
806 | let sign = (number > 0) ? 1 : -1;
| `- error: ambiguous use of operator '>'
807 | return BigDouble(sign) * BigDouble(floor(abs(number) * pow(10, digits))) / pow(10, digits)
808 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
[58/85] Compiling Euler Gauss.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Average.swift:100:23: error: ambiguous use of operator '!='
98 | let sum = tmp.reduce(0, +) // Sum of the entire list
99 | let coefSum = coefficients.reduce(0, +)
100 | guard coefSum != 0 else { throw AverageError.CoefficientIssue }
| `- error: ambiguous use of operator '!='
101 | let av = sum / coefSum
102 | return av
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Gauss.swift:17:14: error: ambiguous use of operator '>'
15 | /// - Returns: `$\operatorname{erf}(x)$`
16 | static func ERF(at x: BigDouble) -> BigDouble {
17 | if x > 10 {
| `- error: ambiguous use of operator '>'
18 | return 1
19 | } else if x < -10 {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Gauss.swift:19:21: error: ambiguous use of operator '<'
17 | if x > 10 {
18 | return 1
19 | } else if x < -10 {
| `- error: ambiguous use of operator '<'
20 | return -1
21 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:335:24: note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
335 | public static func <(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
336 | {
337 | if lhs.sign != rhs.sign { return lhs.sign }
:
345 | return ad.lessThan(bc)
346 | }
347 | public static func <(lhs: BigDouble, rhs: Double) -> Bool { return lhs < BigDouble(rhs) }
| `- note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:117:28: error: ambiguous use of operator '!='
115 | /// - mode: Either 0 or 1 (0 by default, flooring). It will choose between flooring or ceiling the number if it's negative.
116 | func CEILING(_ number: BigDouble, significance: BigDouble = 1, mode: Int = 0) throws -> BigDouble {
117 | guard significance != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
118 | if number.isPositive() {
119 | return ceil(number / significance) * significance
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:182:18: error: ambiguous use of operator '!='
180 | func COTH(_ number: BigNumber) throws -> BigNumber {
181 | let e2 = exp(2 * number)
182 | guard e2 != 1 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
183 | return (e2 + 1) / (e2 - 1)
184 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:255:28: error: ambiguous use of operator '!='
253 | /// - mode: Either 0 or 1 (0 by default, ceiling). It will choose between flooring or ceiling the number if it's negative.
254 | func FLOOR(_ number: BigDouble, significance: BigDouble = 1, mode: Int = 0) throws -> BigDouble {
255 | guard significance != .zero else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
256 | if number.isPositive() {
257 | return floor(number / significance) * significance
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:331:19: error: ambiguous use of operator '!='
329 | func LOG(_ n: BigDouble, base: BigDouble = 10) throws -> BigDouble {
330 | let den = LN(base)
331 | guard den != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
332 | return LN(n) / den
333 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:452:27: error: ambiguous use of operator '!='
450 | /// - denominator: The divisor.
451 | func QUOTIENT(_ numerator: BigDouble, _ denominator: BigDouble) throws -> BigInt {
452 | guard denominator != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
453 | let div = numerator / denominator
454 | return ceil(div)
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:507:34: error: ambiguous use of operator '>'
505 | /// - digits: The number of digits to which you want to round number.
506 | func ROUNDDOWN(_ n: BigDouble, digits: BigInt) -> BigDouble {
507 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
508 | let powed = pow(10, digits)
509 | return sign * BigDouble(floor(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:517:34: error: ambiguous use of operator '>'
515 | /// - digits: The number of digits to which you want to round number.
516 | func ROUNDUP(_ n: BigDouble, digits: BigInt) -> BigDouble {
517 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
518 | let powed = pow(10, digits)
519 | return sign * BigDouble(ceil(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:578:22: error: ambiguous use of operator '=='
576 | if (n.sign == true) {
577 | return -1;
578 | } else if (n == .zero) {
| `- error: ambiguous use of operator '=='
579 | return 0;
580 | } else {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:318:24: note: found this candidate
316 | return BigDouble.nearlyEqual(self, rhs, epsilon: epsilon)
317 | }
318 | public static func ==(lhs: BigDouble, rhs: BigDouble) -> Bool {
| `- note: found this candidate
319 | if lhs.sign != rhs.sign { return false }
320 | if lhs.numerator != rhs.numerator { return false }
:
323 | return true
324 | }
325 | public static func ==(lhs: BigDouble, rhs: Double) -> Bool { return lhs == BigDouble(rhs) }
| `- note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:647:17: error: ambiguous use of operator '!='
645 | /// - b: Any real
646 | func DIVIDE(_ a: BigDouble, _ b: BigDouble) throws -> BigDouble {
647 | guard b != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
648 | return a / b
649 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:806:28: error: ambiguous use of operator '>'
804 | /// - digits: Optional. A number specifying the precision of the truncation.
805 | func TRUNC(_ number: BigDouble, _ digits: Int = 0) -> BigDouble {
806 | let sign = (number > 0) ? 1 : -1;
| `- error: ambiguous use of operator '>'
807 | return BigDouble(sign) * BigDouble(floor(abs(number) * pow(10, digits))) / pow(10, digits)
808 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
[59/85] Compiling Euler Quantile.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Average.swift:100:23: error: ambiguous use of operator '!='
98 | let sum = tmp.reduce(0, +) // Sum of the entire list
99 | let coefSum = coefficients.reduce(0, +)
100 | guard coefSum != 0 else { throw AverageError.CoefficientIssue }
| `- error: ambiguous use of operator '!='
101 | let av = sum / coefSum
102 | return av
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Gauss.swift:17:14: error: ambiguous use of operator '>'
15 | /// - Returns: `$\operatorname{erf}(x)$`
16 | static func ERF(at x: BigDouble) -> BigDouble {
17 | if x > 10 {
| `- error: ambiguous use of operator '>'
18 | return 1
19 | } else if x < -10 {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Gauss.swift:19:21: error: ambiguous use of operator '<'
17 | if x > 10 {
18 | return 1
19 | } else if x < -10 {
| `- error: ambiguous use of operator '<'
20 | return -1
21 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:335:24: note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
335 | public static func <(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
336 | {
337 | if lhs.sign != rhs.sign { return lhs.sign }
:
345 | return ad.lessThan(bc)
346 | }
347 | public static func <(lhs: BigDouble, rhs: Double) -> Bool { return lhs < BigDouble(rhs) }
| `- note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:117:28: error: ambiguous use of operator '!='
115 | /// - mode: Either 0 or 1 (0 by default, flooring). It will choose between flooring or ceiling the number if it's negative.
116 | func CEILING(_ number: BigDouble, significance: BigDouble = 1, mode: Int = 0) throws -> BigDouble {
117 | guard significance != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
118 | if number.isPositive() {
119 | return ceil(number / significance) * significance
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:182:18: error: ambiguous use of operator '!='
180 | func COTH(_ number: BigNumber) throws -> BigNumber {
181 | let e2 = exp(2 * number)
182 | guard e2 != 1 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
183 | return (e2 + 1) / (e2 - 1)
184 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:255:28: error: ambiguous use of operator '!='
253 | /// - mode: Either 0 or 1 (0 by default, ceiling). It will choose between flooring or ceiling the number if it's negative.
254 | func FLOOR(_ number: BigDouble, significance: BigDouble = 1, mode: Int = 0) throws -> BigDouble {
255 | guard significance != .zero else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
256 | if number.isPositive() {
257 | return floor(number / significance) * significance
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:331:19: error: ambiguous use of operator '!='
329 | func LOG(_ n: BigDouble, base: BigDouble = 10) throws -> BigDouble {
330 | let den = LN(base)
331 | guard den != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
332 | return LN(n) / den
333 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:452:27: error: ambiguous use of operator '!='
450 | /// - denominator: The divisor.
451 | func QUOTIENT(_ numerator: BigDouble, _ denominator: BigDouble) throws -> BigInt {
452 | guard denominator != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
453 | let div = numerator / denominator
454 | return ceil(div)
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:507:34: error: ambiguous use of operator '>'
505 | /// - digits: The number of digits to which you want to round number.
506 | func ROUNDDOWN(_ n: BigDouble, digits: BigInt) -> BigDouble {
507 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
508 | let powed = pow(10, digits)
509 | return sign * BigDouble(floor(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:517:34: error: ambiguous use of operator '>'
515 | /// - digits: The number of digits to which you want to round number.
516 | func ROUNDUP(_ n: BigDouble, digits: BigInt) -> BigDouble {
517 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
518 | let powed = pow(10, digits)
519 | return sign * BigDouble(ceil(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:578:22: error: ambiguous use of operator '=='
576 | if (n.sign == true) {
577 | return -1;
578 | } else if (n == .zero) {
| `- error: ambiguous use of operator '=='
579 | return 0;
580 | } else {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:318:24: note: found this candidate
316 | return BigDouble.nearlyEqual(self, rhs, epsilon: epsilon)
317 | }
318 | public static func ==(lhs: BigDouble, rhs: BigDouble) -> Bool {
| `- note: found this candidate
319 | if lhs.sign != rhs.sign { return false }
320 | if lhs.numerator != rhs.numerator { return false }
:
323 | return true
324 | }
325 | public static func ==(lhs: BigDouble, rhs: Double) -> Bool { return lhs == BigDouble(rhs) }
| `- note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:647:17: error: ambiguous use of operator '!='
645 | /// - b: Any real
646 | func DIVIDE(_ a: BigDouble, _ b: BigDouble) throws -> BigDouble {
647 | guard b != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
648 | return a / b
649 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:806:28: error: ambiguous use of operator '>'
804 | /// - digits: Optional. A number specifying the precision of the truncation.
805 | func TRUNC(_ number: BigDouble, _ digits: Int = 0) -> BigDouble {
806 | let sign = (number > 0) ? 1 : -1;
| `- error: ambiguous use of operator '>'
807 | return BigDouble(sign) * BigDouble(floor(abs(number) * pow(10, digits))) / pow(10, digits)
808 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
[60/85] Compiling Euler Regression.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Average.swift:100:23: error: ambiguous use of operator '!='
98 | let sum = tmp.reduce(0, +) // Sum of the entire list
99 | let coefSum = coefficients.reduce(0, +)
100 | guard coefSum != 0 else { throw AverageError.CoefficientIssue }
| `- error: ambiguous use of operator '!='
101 | let av = sum / coefSum
102 | return av
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Gauss.swift:17:14: error: ambiguous use of operator '>'
15 | /// - Returns: `$\operatorname{erf}(x)$`
16 | static func ERF(at x: BigDouble) -> BigDouble {
17 | if x > 10 {
| `- error: ambiguous use of operator '>'
18 | return 1
19 | } else if x < -10 {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Gauss.swift:19:21: error: ambiguous use of operator '<'
17 | if x > 10 {
18 | return 1
19 | } else if x < -10 {
| `- error: ambiguous use of operator '<'
20 | return -1
21 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:335:24: note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
335 | public static func <(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
336 | {
337 | if lhs.sign != rhs.sign { return lhs.sign }
:
345 | return ad.lessThan(bc)
346 | }
347 | public static func <(lhs: BigDouble, rhs: Double) -> Bool { return lhs < BigDouble(rhs) }
| `- note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:117:28: error: ambiguous use of operator '!='
115 | /// - mode: Either 0 or 1 (0 by default, flooring). It will choose between flooring or ceiling the number if it's negative.
116 | func CEILING(_ number: BigDouble, significance: BigDouble = 1, mode: Int = 0) throws -> BigDouble {
117 | guard significance != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
118 | if number.isPositive() {
119 | return ceil(number / significance) * significance
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:182:18: error: ambiguous use of operator '!='
180 | func COTH(_ number: BigNumber) throws -> BigNumber {
181 | let e2 = exp(2 * number)
182 | guard e2 != 1 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
183 | return (e2 + 1) / (e2 - 1)
184 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:255:28: error: ambiguous use of operator '!='
253 | /// - mode: Either 0 or 1 (0 by default, ceiling). It will choose between flooring or ceiling the number if it's negative.
254 | func FLOOR(_ number: BigDouble, significance: BigDouble = 1, mode: Int = 0) throws -> BigDouble {
255 | guard significance != .zero else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
256 | if number.isPositive() {
257 | return floor(number / significance) * significance
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:331:19: error: ambiguous use of operator '!='
329 | func LOG(_ n: BigDouble, base: BigDouble = 10) throws -> BigDouble {
330 | let den = LN(base)
331 | guard den != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
332 | return LN(n) / den
333 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:452:27: error: ambiguous use of operator '!='
450 | /// - denominator: The divisor.
451 | func QUOTIENT(_ numerator: BigDouble, _ denominator: BigDouble) throws -> BigInt {
452 | guard denominator != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
453 | let div = numerator / denominator
454 | return ceil(div)
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:507:34: error: ambiguous use of operator '>'
505 | /// - digits: The number of digits to which you want to round number.
506 | func ROUNDDOWN(_ n: BigDouble, digits: BigInt) -> BigDouble {
507 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
508 | let powed = pow(10, digits)
509 | return sign * BigDouble(floor(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:517:34: error: ambiguous use of operator '>'
515 | /// - digits: The number of digits to which you want to round number.
516 | func ROUNDUP(_ n: BigDouble, digits: BigInt) -> BigDouble {
517 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
518 | let powed = pow(10, digits)
519 | return sign * BigDouble(ceil(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:578:22: error: ambiguous use of operator '=='
576 | if (n.sign == true) {
577 | return -1;
578 | } else if (n == .zero) {
| `- error: ambiguous use of operator '=='
579 | return 0;
580 | } else {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:318:24: note: found this candidate
316 | return BigDouble.nearlyEqual(self, rhs, epsilon: epsilon)
317 | }
318 | public static func ==(lhs: BigDouble, rhs: BigDouble) -> Bool {
| `- note: found this candidate
319 | if lhs.sign != rhs.sign { return false }
320 | if lhs.numerator != rhs.numerator { return false }
:
323 | return true
324 | }
325 | public static func ==(lhs: BigDouble, rhs: Double) -> Bool { return lhs == BigDouble(rhs) }
| `- note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:647:17: error: ambiguous use of operator '!='
645 | /// - b: Any real
646 | func DIVIDE(_ a: BigDouble, _ b: BigDouble) throws -> BigDouble {
647 | guard b != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
648 | return a / b
649 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:806:28: error: ambiguous use of operator '>'
804 | /// - digits: Optional. A number specifying the precision of the truncation.
805 | func TRUNC(_ number: BigDouble, _ digits: Int = 0) -> BigDouble {
806 | let sign = (number > 0) ? 1 : -1;
| `- error: ambiguous use of operator '>'
807 | return BigDouble(sign) * BigDouble(floor(abs(number) * pow(10, digits))) / pow(10, digits)
808 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
[61/85] Compiling Euler Statistics.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Average.swift:100:23: error: ambiguous use of operator '!='
98 | let sum = tmp.reduce(0, +) // Sum of the entire list
99 | let coefSum = coefficients.reduce(0, +)
100 | guard coefSum != 0 else { throw AverageError.CoefficientIssue }
| `- error: ambiguous use of operator '!='
101 | let av = sum / coefSum
102 | return av
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Gauss.swift:17:14: error: ambiguous use of operator '>'
15 | /// - Returns: `$\operatorname{erf}(x)$`
16 | static func ERF(at x: BigDouble) -> BigDouble {
17 | if x > 10 {
| `- error: ambiguous use of operator '>'
18 | return 1
19 | } else if x < -10 {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Gauss.swift:19:21: error: ambiguous use of operator '<'
17 | if x > 10 {
18 | return 1
19 | } else if x < -10 {
| `- error: ambiguous use of operator '<'
20 | return -1
21 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:335:24: note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
335 | public static func <(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
336 | {
337 | if lhs.sign != rhs.sign { return lhs.sign }
:
345 | return ad.lessThan(bc)
346 | }
347 | public static func <(lhs: BigDouble, rhs: Double) -> Bool { return lhs < BigDouble(rhs) }
| `- note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:117:28: error: ambiguous use of operator '!='
115 | /// - mode: Either 0 or 1 (0 by default, flooring). It will choose between flooring or ceiling the number if it's negative.
116 | func CEILING(_ number: BigDouble, significance: BigDouble = 1, mode: Int = 0) throws -> BigDouble {
117 | guard significance != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
118 | if number.isPositive() {
119 | return ceil(number / significance) * significance
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:182:18: error: ambiguous use of operator '!='
180 | func COTH(_ number: BigNumber) throws -> BigNumber {
181 | let e2 = exp(2 * number)
182 | guard e2 != 1 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
183 | return (e2 + 1) / (e2 - 1)
184 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:255:28: error: ambiguous use of operator '!='
253 | /// - mode: Either 0 or 1 (0 by default, ceiling). It will choose between flooring or ceiling the number if it's negative.
254 | func FLOOR(_ number: BigDouble, significance: BigDouble = 1, mode: Int = 0) throws -> BigDouble {
255 | guard significance != .zero else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
256 | if number.isPositive() {
257 | return floor(number / significance) * significance
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:331:19: error: ambiguous use of operator '!='
329 | func LOG(_ n: BigDouble, base: BigDouble = 10) throws -> BigDouble {
330 | let den = LN(base)
331 | guard den != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
332 | return LN(n) / den
333 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:452:27: error: ambiguous use of operator '!='
450 | /// - denominator: The divisor.
451 | func QUOTIENT(_ numerator: BigDouble, _ denominator: BigDouble) throws -> BigInt {
452 | guard denominator != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
453 | let div = numerator / denominator
454 | return ceil(div)
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:507:34: error: ambiguous use of operator '>'
505 | /// - digits: The number of digits to which you want to round number.
506 | func ROUNDDOWN(_ n: BigDouble, digits: BigInt) -> BigDouble {
507 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
508 | let powed = pow(10, digits)
509 | return sign * BigDouble(floor(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:517:34: error: ambiguous use of operator '>'
515 | /// - digits: The number of digits to which you want to round number.
516 | func ROUNDUP(_ n: BigDouble, digits: BigInt) -> BigDouble {
517 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
518 | let powed = pow(10, digits)
519 | return sign * BigDouble(ceil(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:578:22: error: ambiguous use of operator '=='
576 | if (n.sign == true) {
577 | return -1;
578 | } else if (n == .zero) {
| `- error: ambiguous use of operator '=='
579 | return 0;
580 | } else {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:318:24: note: found this candidate
316 | return BigDouble.nearlyEqual(self, rhs, epsilon: epsilon)
317 | }
318 | public static func ==(lhs: BigDouble, rhs: BigDouble) -> Bool {
| `- note: found this candidate
319 | if lhs.sign != rhs.sign { return false }
320 | if lhs.numerator != rhs.numerator { return false }
:
323 | return true
324 | }
325 | public static func ==(lhs: BigDouble, rhs: Double) -> Bool { return lhs == BigDouble(rhs) }
| `- note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:647:17: error: ambiguous use of operator '!='
645 | /// - b: Any real
646 | func DIVIDE(_ a: BigDouble, _ b: BigDouble) throws -> BigDouble {
647 | guard b != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
648 | return a / b
649 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:806:28: error: ambiguous use of operator '>'
804 | /// - digits: Optional. A number specifying the precision of the truncation.
805 | func TRUNC(_ number: BigDouble, _ digits: Int = 0) -> BigDouble {
806 | let sign = (number > 0) ? 1 : -1;
| `- error: ambiguous use of operator '>'
807 | return BigDouble(sign) * BigDouble(floor(abs(number) * pow(10, digits))) / pow(10, digits)
808 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
[62/85] Compiling Euler Variance.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Average.swift:100:23: error: ambiguous use of operator '!='
98 | let sum = tmp.reduce(0, +) // Sum of the entire list
99 | let coefSum = coefficients.reduce(0, +)
100 | guard coefSum != 0 else { throw AverageError.CoefficientIssue }
| `- error: ambiguous use of operator '!='
101 | let av = sum / coefSum
102 | return av
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Gauss.swift:17:14: error: ambiguous use of operator '>'
15 | /// - Returns: `$\operatorname{erf}(x)$`
16 | static func ERF(at x: BigDouble) -> BigDouble {
17 | if x > 10 {
| `- error: ambiguous use of operator '>'
18 | return 1
19 | } else if x < -10 {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Gauss.swift:19:21: error: ambiguous use of operator '<'
17 | if x > 10 {
18 | return 1
19 | } else if x < -10 {
| `- error: ambiguous use of operator '<'
20 | return -1
21 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:335:24: note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
335 | public static func <(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
336 | {
337 | if lhs.sign != rhs.sign { return lhs.sign }
:
345 | return ad.lessThan(bc)
346 | }
347 | public static func <(lhs: BigDouble, rhs: Double) -> Bool { return lhs < BigDouble(rhs) }
| `- note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:117:28: error: ambiguous use of operator '!='
115 | /// - mode: Either 0 or 1 (0 by default, flooring). It will choose between flooring or ceiling the number if it's negative.
116 | func CEILING(_ number: BigDouble, significance: BigDouble = 1, mode: Int = 0) throws -> BigDouble {
117 | guard significance != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
118 | if number.isPositive() {
119 | return ceil(number / significance) * significance
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:182:18: error: ambiguous use of operator '!='
180 | func COTH(_ number: BigNumber) throws -> BigNumber {
181 | let e2 = exp(2 * number)
182 | guard e2 != 1 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
183 | return (e2 + 1) / (e2 - 1)
184 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:255:28: error: ambiguous use of operator '!='
253 | /// - mode: Either 0 or 1 (0 by default, ceiling). It will choose between flooring or ceiling the number if it's negative.
254 | func FLOOR(_ number: BigDouble, significance: BigDouble = 1, mode: Int = 0) throws -> BigDouble {
255 | guard significance != .zero else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
256 | if number.isPositive() {
257 | return floor(number / significance) * significance
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:331:19: error: ambiguous use of operator '!='
329 | func LOG(_ n: BigDouble, base: BigDouble = 10) throws -> BigDouble {
330 | let den = LN(base)
331 | guard den != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
332 | return LN(n) / den
333 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:452:27: error: ambiguous use of operator '!='
450 | /// - denominator: The divisor.
451 | func QUOTIENT(_ numerator: BigDouble, _ denominator: BigDouble) throws -> BigInt {
452 | guard denominator != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
453 | let div = numerator / denominator
454 | return ceil(div)
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:507:34: error: ambiguous use of operator '>'
505 | /// - digits: The number of digits to which you want to round number.
506 | func ROUNDDOWN(_ n: BigDouble, digits: BigInt) -> BigDouble {
507 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
508 | let powed = pow(10, digits)
509 | return sign * BigDouble(floor(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:517:34: error: ambiguous use of operator '>'
515 | /// - digits: The number of digits to which you want to round number.
516 | func ROUNDUP(_ n: BigDouble, digits: BigInt) -> BigDouble {
517 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
518 | let powed = pow(10, digits)
519 | return sign * BigDouble(ceil(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:578:22: error: ambiguous use of operator '=='
576 | if (n.sign == true) {
577 | return -1;
578 | } else if (n == .zero) {
| `- error: ambiguous use of operator '=='
579 | return 0;
580 | } else {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:318:24: note: found this candidate
316 | return BigDouble.nearlyEqual(self, rhs, epsilon: epsilon)
317 | }
318 | public static func ==(lhs: BigDouble, rhs: BigDouble) -> Bool {
| `- note: found this candidate
319 | if lhs.sign != rhs.sign { return false }
320 | if lhs.numerator != rhs.numerator { return false }
:
323 | return true
324 | }
325 | public static func ==(lhs: BigDouble, rhs: Double) -> Bool { return lhs == BigDouble(rhs) }
| `- note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:647:17: error: ambiguous use of operator '!='
645 | /// - b: Any real
646 | func DIVIDE(_ a: BigDouble, _ b: BigDouble) throws -> BigDouble {
647 | guard b != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
648 | return a / b
649 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:806:28: error: ambiguous use of operator '>'
804 | /// - digits: Optional. A number specifying the precision of the truncation.
805 | func TRUNC(_ number: BigDouble, _ digits: Int = 0) -> BigDouble {
806 | let sign = (number > 0) ? 1 : -1;
| `- error: ambiguous use of operator '>'
807 | return BigDouble(sign) * BigDouble(floor(abs(number) * pow(10, digits))) / pow(10, digits)
808 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
[63/85] Compiling Euler CellValue.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Average.swift:100:23: error: ambiguous use of operator '!='
98 | let sum = tmp.reduce(0, +) // Sum of the entire list
99 | let coefSum = coefficients.reduce(0, +)
100 | guard coefSum != 0 else { throw AverageError.CoefficientIssue }
| `- error: ambiguous use of operator '!='
101 | let av = sum / coefSum
102 | return av
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Gauss.swift:17:14: error: ambiguous use of operator '>'
15 | /// - Returns: `$\operatorname{erf}(x)$`
16 | static func ERF(at x: BigDouble) -> BigDouble {
17 | if x > 10 {
| `- error: ambiguous use of operator '>'
18 | return 1
19 | } else if x < -10 {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Gauss.swift:19:21: error: ambiguous use of operator '<'
17 | if x > 10 {
18 | return 1
19 | } else if x < -10 {
| `- error: ambiguous use of operator '<'
20 | return -1
21 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:335:24: note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
335 | public static func <(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
336 | {
337 | if lhs.sign != rhs.sign { return lhs.sign }
:
345 | return ad.lessThan(bc)
346 | }
347 | public static func <(lhs: BigDouble, rhs: Double) -> Bool { return lhs < BigDouble(rhs) }
| `- note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:117:28: error: ambiguous use of operator '!='
115 | /// - mode: Either 0 or 1 (0 by default, flooring). It will choose between flooring or ceiling the number if it's negative.
116 | func CEILING(_ number: BigDouble, significance: BigDouble = 1, mode: Int = 0) throws -> BigDouble {
117 | guard significance != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
118 | if number.isPositive() {
119 | return ceil(number / significance) * significance
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:182:18: error: ambiguous use of operator '!='
180 | func COTH(_ number: BigNumber) throws -> BigNumber {
181 | let e2 = exp(2 * number)
182 | guard e2 != 1 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
183 | return (e2 + 1) / (e2 - 1)
184 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:255:28: error: ambiguous use of operator '!='
253 | /// - mode: Either 0 or 1 (0 by default, ceiling). It will choose between flooring or ceiling the number if it's negative.
254 | func FLOOR(_ number: BigDouble, significance: BigDouble = 1, mode: Int = 0) throws -> BigDouble {
255 | guard significance != .zero else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
256 | if number.isPositive() {
257 | return floor(number / significance) * significance
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:331:19: error: ambiguous use of operator '!='
329 | func LOG(_ n: BigDouble, base: BigDouble = 10) throws -> BigDouble {
330 | let den = LN(base)
331 | guard den != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
332 | return LN(n) / den
333 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:452:27: error: ambiguous use of operator '!='
450 | /// - denominator: The divisor.
451 | func QUOTIENT(_ numerator: BigDouble, _ denominator: BigDouble) throws -> BigInt {
452 | guard denominator != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
453 | let div = numerator / denominator
454 | return ceil(div)
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:507:34: error: ambiguous use of operator '>'
505 | /// - digits: The number of digits to which you want to round number.
506 | func ROUNDDOWN(_ n: BigDouble, digits: BigInt) -> BigDouble {
507 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
508 | let powed = pow(10, digits)
509 | return sign * BigDouble(floor(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:517:34: error: ambiguous use of operator '>'
515 | /// - digits: The number of digits to which you want to round number.
516 | func ROUNDUP(_ n: BigDouble, digits: BigInt) -> BigDouble {
517 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
518 | let powed = pow(10, digits)
519 | return sign * BigDouble(ceil(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:578:22: error: ambiguous use of operator '=='
576 | if (n.sign == true) {
577 | return -1;
578 | } else if (n == .zero) {
| `- error: ambiguous use of operator '=='
579 | return 0;
580 | } else {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:318:24: note: found this candidate
316 | return BigDouble.nearlyEqual(self, rhs, epsilon: epsilon)
317 | }
318 | public static func ==(lhs: BigDouble, rhs: BigDouble) -> Bool {
| `- note: found this candidate
319 | if lhs.sign != rhs.sign { return false }
320 | if lhs.numerator != rhs.numerator { return false }
:
323 | return true
324 | }
325 | public static func ==(lhs: BigDouble, rhs: Double) -> Bool { return lhs == BigDouble(rhs) }
| `- note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:647:17: error: ambiguous use of operator '!='
645 | /// - b: Any real
646 | func DIVIDE(_ a: BigDouble, _ b: BigDouble) throws -> BigDouble {
647 | guard b != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
648 | return a / b
649 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:806:28: error: ambiguous use of operator '>'
804 | /// - digits: Optional. A number specifying the precision of the truncation.
805 | func TRUNC(_ number: BigDouble, _ digits: Int = 0) -> BigDouble {
806 | let sign = (number > 0) ? 1 : -1;
| `- error: ambiguous use of operator '>'
807 | return BigDouble(sign) * BigDouble(floor(abs(number) * pow(10, digits))) / pow(10, digits)
808 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
[64/85] Compiling Euler CommonFormulas.swift
/host/spi-builder-workspace/Sources/Euler/Statistics/Average.swift:100:23: error: ambiguous use of operator '!='
98 | let sum = tmp.reduce(0, +) // Sum of the entire list
99 | let coefSum = coefficients.reduce(0, +)
100 | guard coefSum != 0 else { throw AverageError.CoefficientIssue }
| `- error: ambiguous use of operator '!='
101 | let av = sum / coefSum
102 | return av
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Gauss.swift:17:14: error: ambiguous use of operator '>'
15 | /// - Returns: `$\operatorname{erf}(x)$`
16 | static func ERF(at x: BigDouble) -> BigDouble {
17 | if x > 10 {
| `- error: ambiguous use of operator '>'
18 | return 1
19 | } else if x < -10 {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Gauss.swift:19:21: error: ambiguous use of operator '<'
17 | if x > 10 {
18 | return 1
19 | } else if x < -10 {
| `- error: ambiguous use of operator '<'
20 | return -1
21 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:335:24: note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
335 | public static func <(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
336 | {
337 | if lhs.sign != rhs.sign { return lhs.sign }
:
345 | return ad.lessThan(bc)
346 | }
347 | public static func <(lhs: BigDouble, rhs: Double) -> Bool { return lhs < BigDouble(rhs) }
| `- note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:45:17: error: cannot find 'Matrix' in scope
43 | /// - Returns: Polynomial
44 | static func polynomialRegression(points: [Point], deg: Int = 2) throws -> Polynomial {
45 | var z = Matrix(rows: points.count, columns: deg + 1, repeatedValue: 0)
| `- error: cannot find 'Matrix' in scope
46 |
47 | for i in 0..<points.count {
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:55:17: error: cannot find 'Matrix' in scope
53 | }
54 |
55 | let y = Matrix(rows: points.count, columns: 1, grid: points.map { $0.y.asDouble() ?? 0 })
| `- error: cannot find 'Matrix' in scope
56 |
57 | let z_transposed = z.transpose()
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:59:30: error: cannot find operator '<*>' in scope
57 | let z_transposed = z.transpose()
58 |
59 | let l = z_transposed <*> z
| `- error: cannot find operator '<*>' in scope
60 | let r = z_transposed <*> y
61 |
/host/spi-builder-workspace/Sources/Euler/Statistics/Regression.swift:60:30: error: cannot find operator '<*>' in scope
58 |
59 | let l = z_transposed <*> z
60 | let r = z_transposed <*> y
| `- error: cannot find operator '<*>' in scope
61 |
62 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:117:28: error: ambiguous use of operator '!='
115 | /// - mode: Either 0 or 1 (0 by default, flooring). It will choose between flooring or ceiling the number if it's negative.
116 | func CEILING(_ number: BigDouble, significance: BigDouble = 1, mode: Int = 0) throws -> BigDouble {
117 | guard significance != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
118 | if number.isPositive() {
119 | return ceil(number / significance) * significance
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:182:18: error: ambiguous use of operator '!='
180 | func COTH(_ number: BigNumber) throws -> BigNumber {
181 | let e2 = exp(2 * number)
182 | guard e2 != 1 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
183 | return (e2 + 1) / (e2 - 1)
184 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:255:28: error: ambiguous use of operator '!='
253 | /// - mode: Either 0 or 1 (0 by default, ceiling). It will choose between flooring or ceiling the number if it's negative.
254 | func FLOOR(_ number: BigDouble, significance: BigDouble = 1, mode: Int = 0) throws -> BigDouble {
255 | guard significance != .zero else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
256 | if number.isPositive() {
257 | return floor(number / significance) * significance
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:331:19: error: ambiguous use of operator '!='
329 | func LOG(_ n: BigDouble, base: BigDouble = 10) throws -> BigDouble {
330 | let den = LN(base)
331 | guard den != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
332 | return LN(n) / den
333 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:452:27: error: ambiguous use of operator '!='
450 | /// - denominator: The divisor.
451 | func QUOTIENT(_ numerator: BigDouble, _ denominator: BigDouble) throws -> BigInt {
452 | guard denominator != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
453 | let div = numerator / denominator
454 | return ceil(div)
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:507:34: error: ambiguous use of operator '>'
505 | /// - digits: The number of digits to which you want to round number.
506 | func ROUNDDOWN(_ n: BigDouble, digits: BigInt) -> BigDouble {
507 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
508 | let powed = pow(10, digits)
509 | return sign * BigDouble(floor(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:517:34: error: ambiguous use of operator '>'
515 | /// - digits: The number of digits to which you want to round number.
516 | func ROUNDUP(_ n: BigDouble, digits: BigInt) -> BigDouble {
517 | let sign: BigDouble = (n > 0) ? 1 : -1
| `- error: ambiguous use of operator '>'
518 | let powed = pow(10, digits)
519 | return sign * BigDouble(ceil(abs(n) * powed)) / powed
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:578:22: error: ambiguous use of operator '=='
576 | if (n.sign == true) {
577 | return -1;
578 | } else if (n == .zero) {
| `- error: ambiguous use of operator '=='
579 | return 0;
580 | } else {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:318:24: note: found this candidate
316 | return BigDouble.nearlyEqual(self, rhs, epsilon: epsilon)
317 | }
318 | public static func ==(lhs: BigDouble, rhs: BigDouble) -> Bool {
| `- note: found this candidate
319 | if lhs.sign != rhs.sign { return false }
320 | if lhs.numerator != rhs.numerator { return false }
:
323 | return true
324 | }
325 | public static func ==(lhs: BigDouble, rhs: Double) -> Bool { return lhs == BigDouble(rhs) }
| `- note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:647:17: error: ambiguous use of operator '!='
645 | /// - b: Any real
646 | func DIVIDE(_ a: BigDouble, _ b: BigDouble) throws -> BigDouble {
647 | guard b != 0 else { throw TablesError.DivisionByZero }
| `- error: ambiguous use of operator '!='
648 | return a / b
649 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/CommonFormulas.swift:806:28: error: ambiguous use of operator '>'
804 | /// - digits: Optional. A number specifying the precision of the truncation.
805 | func TRUNC(_ number: BigDouble, _ digits: Int = 0) -> BigDouble {
806 | let sign = (number > 0) ? 1 : -1;
| `- error: ambiguous use of operator '>'
807 | return BigDouble(sign) * BigDouble(floor(abs(number) * pow(10, digits))) / pow(10, digits)
808 | }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
[65/85] Compiling Euler DateTime.swift
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Financial.swift:25:20: error: ambiguous use of operator '>'
23 | /// - Returns: Accrued interest for a security that pays periodic interest
24 | func ACCRINT(_ issue: Int, _ first: Int, _ settlement: Int, _ rate: BigDouble, _ par: BigDouble = 1000, _ frequency: Int = 1, _ basis: Int = 0) throws -> BigDouble {
25 | guard rate > 0 && par > 0 else { throw TablesError.Arguments }
| `- error: ambiguous use of operator '>'
26 | guard [1, 2, 4].contains(frequency) && [0, 1, 2, 3, 4].contains(basis) else { throw TablesError.Arguments }
27 | guard settlement > issue else { throw TablesError.Arguments }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:113:21: error: ambiguous use of operator '!='
111 | }
112 | let powed = pow(stats.standardDeviation, 4)
113 | guard powed != 0 else { return 0 }
| `- error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:116:20: error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
116 | guard div1 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:119:20: error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
119 | guard div2 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
120 | let p2 = (n - 1) / div2
121 |
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
[66/85] Compiling Euler Engineering.swift
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Financial.swift:25:20: error: ambiguous use of operator '>'
23 | /// - Returns: Accrued interest for a security that pays periodic interest
24 | func ACCRINT(_ issue: Int, _ first: Int, _ settlement: Int, _ rate: BigDouble, _ par: BigDouble = 1000, _ frequency: Int = 1, _ basis: Int = 0) throws -> BigDouble {
25 | guard rate > 0 && par > 0 else { throw TablesError.Arguments }
| `- error: ambiguous use of operator '>'
26 | guard [1, 2, 4].contains(frequency) && [0, 1, 2, 3, 4].contains(basis) else { throw TablesError.Arguments }
27 | guard settlement > issue else { throw TablesError.Arguments }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:113:21: error: ambiguous use of operator '!='
111 | }
112 | let powed = pow(stats.standardDeviation, 4)
113 | guard powed != 0 else { return 0 }
| `- error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:116:20: error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
116 | guard div1 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:119:20: error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
119 | guard div2 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
120 | let p2 = (n - 1) / div2
121 |
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
[67/85] Compiling Euler Financial.swift
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Financial.swift:25:20: error: ambiguous use of operator '>'
23 | /// - Returns: Accrued interest for a security that pays periodic interest
24 | func ACCRINT(_ issue: Int, _ first: Int, _ settlement: Int, _ rate: BigDouble, _ par: BigDouble = 1000, _ frequency: Int = 1, _ basis: Int = 0) throws -> BigDouble {
25 | guard rate > 0 && par > 0 else { throw TablesError.Arguments }
| `- error: ambiguous use of operator '>'
26 | guard [1, 2, 4].contains(frequency) && [0, 1, 2, 3, 4].contains(basis) else { throw TablesError.Arguments }
27 | guard settlement > issue else { throw TablesError.Arguments }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:113:21: error: ambiguous use of operator '!='
111 | }
112 | let powed = pow(stats.standardDeviation, 4)
113 | guard powed != 0 else { return 0 }
| `- error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:116:20: error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
116 | guard div1 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:119:20: error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
119 | guard div2 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
120 | let p2 = (n - 1) / div2
121 |
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
[68/85] Compiling Euler Logical.swift
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Financial.swift:25:20: error: ambiguous use of operator '>'
23 | /// - Returns: Accrued interest for a security that pays periodic interest
24 | func ACCRINT(_ issue: Int, _ first: Int, _ settlement: Int, _ rate: BigDouble, _ par: BigDouble = 1000, _ frequency: Int = 1, _ basis: Int = 0) throws -> BigDouble {
25 | guard rate > 0 && par > 0 else { throw TablesError.Arguments }
| `- error: ambiguous use of operator '>'
26 | guard [1, 2, 4].contains(frequency) && [0, 1, 2, 3, 4].contains(basis) else { throw TablesError.Arguments }
27 | guard settlement > issue else { throw TablesError.Arguments }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:113:21: error: ambiguous use of operator '!='
111 | }
112 | let powed = pow(stats.standardDeviation, 4)
113 | guard powed != 0 else { return 0 }
| `- error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:116:20: error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
116 | guard div1 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:119:20: error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
119 | guard div2 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
120 | let p2 = (n - 1) / div2
121 |
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
[69/85] Compiling Euler Statistical.swift
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Financial.swift:25:20: error: ambiguous use of operator '>'
23 | /// - Returns: Accrued interest for a security that pays periodic interest
24 | func ACCRINT(_ issue: Int, _ first: Int, _ settlement: Int, _ rate: BigDouble, _ par: BigDouble = 1000, _ frequency: Int = 1, _ basis: Int = 0) throws -> BigDouble {
25 | guard rate > 0 && par > 0 else { throw TablesError.Arguments }
| `- error: ambiguous use of operator '>'
26 | guard [1, 2, 4].contains(frequency) && [0, 1, 2, 3, 4].contains(basis) else { throw TablesError.Arguments }
27 | guard settlement > issue else { throw TablesError.Arguments }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:113:21: error: ambiguous use of operator '!='
111 | }
112 | let powed = pow(stats.standardDeviation, 4)
113 | guard powed != 0 else { return 0 }
| `- error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:116:20: error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
116 | guard div1 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:119:20: error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
119 | guard div2 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
120 | let p2 = (n - 1) / div2
121 |
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
[70/85] Compiling Euler Execute.swift
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Financial.swift:25:20: error: ambiguous use of operator '>'
23 | /// - Returns: Accrued interest for a security that pays periodic interest
24 | func ACCRINT(_ issue: Int, _ first: Int, _ settlement: Int, _ rate: BigDouble, _ par: BigDouble = 1000, _ frequency: Int = 1, _ basis: Int = 0) throws -> BigDouble {
25 | guard rate > 0 && par > 0 else { throw TablesError.Arguments }
| `- error: ambiguous use of operator '>'
26 | guard [1, 2, 4].contains(frequency) && [0, 1, 2, 3, 4].contains(basis) else { throw TablesError.Arguments }
27 | guard settlement > issue else { throw TablesError.Arguments }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:113:21: error: ambiguous use of operator '!='
111 | }
112 | let powed = pow(stats.standardDeviation, 4)
113 | guard powed != 0 else { return 0 }
| `- error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:116:20: error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
116 | guard div1 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:119:20: error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
119 | guard div2 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
120 | let p2 = (n - 1) / div2
121 |
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
[71/85] Compiling Euler CommonLinker.swift
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Financial.swift:25:20: error: ambiguous use of operator '>'
23 | /// - Returns: Accrued interest for a security that pays periodic interest
24 | func ACCRINT(_ issue: Int, _ first: Int, _ settlement: Int, _ rate: BigDouble, _ par: BigDouble = 1000, _ frequency: Int = 1, _ basis: Int = 0) throws -> BigDouble {
25 | guard rate > 0 && par > 0 else { throw TablesError.Arguments }
| `- error: ambiguous use of operator '>'
26 | guard [1, 2, 4].contains(frequency) && [0, 1, 2, 3, 4].contains(basis) else { throw TablesError.Arguments }
27 | guard settlement > issue else { throw TablesError.Arguments }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:113:21: error: ambiguous use of operator '!='
111 | }
112 | let powed = pow(stats.standardDeviation, 4)
113 | guard powed != 0 else { return 0 }
| `- error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:116:20: error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
116 | guard div1 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:119:20: error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
119 | guard div2 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
120 | let p2 = (n - 1) / div2
121 |
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
[72/85] Compiling Euler DateLinker.swift
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Financial.swift:25:20: error: ambiguous use of operator '>'
23 | /// - Returns: Accrued interest for a security that pays periodic interest
24 | func ACCRINT(_ issue: Int, _ first: Int, _ settlement: Int, _ rate: BigDouble, _ par: BigDouble = 1000, _ frequency: Int = 1, _ basis: Int = 0) throws -> BigDouble {
25 | guard rate > 0 && par > 0 else { throw TablesError.Arguments }
| `- error: ambiguous use of operator '>'
26 | guard [1, 2, 4].contains(frequency) && [0, 1, 2, 3, 4].contains(basis) else { throw TablesError.Arguments }
27 | guard settlement > issue else { throw TablesError.Arguments }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:113:21: error: ambiguous use of operator '!='
111 | }
112 | let powed = pow(stats.standardDeviation, 4)
113 | guard powed != 0 else { return 0 }
| `- error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:116:20: error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
116 | guard div1 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:119:20: error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
119 | guard div2 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
120 | let p2 = (n - 1) / div2
121 |
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
[73/85] Compiling Euler EngineeringLinker.swift
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Financial.swift:25:20: error: ambiguous use of operator '>'
23 | /// - Returns: Accrued interest for a security that pays periodic interest
24 | func ACCRINT(_ issue: Int, _ first: Int, _ settlement: Int, _ rate: BigDouble, _ par: BigDouble = 1000, _ frequency: Int = 1, _ basis: Int = 0) throws -> BigDouble {
25 | guard rate > 0 && par > 0 else { throw TablesError.Arguments }
| `- error: ambiguous use of operator '>'
26 | guard [1, 2, 4].contains(frequency) && [0, 1, 2, 3, 4].contains(basis) else { throw TablesError.Arguments }
27 | guard settlement > issue else { throw TablesError.Arguments }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:113:21: error: ambiguous use of operator '!='
111 | }
112 | let powed = pow(stats.standardDeviation, 4)
113 | guard powed != 0 else { return 0 }
| `- error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:116:20: error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
116 | guard div1 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:119:20: error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
119 | guard div2 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
120 | let p2 = (n - 1) / div2
121 |
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
[74/85] Compiling Euler FinancialLinker.swift
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Financial.swift:25:20: error: ambiguous use of operator '>'
23 | /// - Returns: Accrued interest for a security that pays periodic interest
24 | func ACCRINT(_ issue: Int, _ first: Int, _ settlement: Int, _ rate: BigDouble, _ par: BigDouble = 1000, _ frequency: Int = 1, _ basis: Int = 0) throws -> BigDouble {
25 | guard rate > 0 && par > 0 else { throw TablesError.Arguments }
| `- error: ambiguous use of operator '>'
26 | guard [1, 2, 4].contains(frequency) && [0, 1, 2, 3, 4].contains(basis) else { throw TablesError.Arguments }
27 | guard settlement > issue else { throw TablesError.Arguments }
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:350:24: note: found this candidate
348 | public static func <(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) < rhs }
349 |
350 | public static func >(lhs: BigDouble, rhs: BigDouble) -> Bool { return rhs < lhs }
| `- note: found this candidate
351 | public static func >(lhs: BigDouble, rhs: Double) -> Bool { return lhs > BigDouble(rhs) }
| `- note: found this candidate
352 | public static func >(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) > rhs }
353 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:113:21: error: ambiguous use of operator '!='
111 | }
112 | let powed = pow(stats.standardDeviation, 4)
113 | guard powed != 0 else { return 0 }
| `- error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:116:20: error: ambiguous use of operator '!='
114 | sigma = sigma / powed
115 | let div1 = ((n - 1) * (n - 2) * (n - 3))
116 | guard div1 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Tables/Formulas/Statistical.swift:119:20: error: ambiguous use of operator '!='
117 | let p1 = (n * (n + 1)) / div1
118 | let div2 = ((n - 2) * (n - 3))
119 | guard div2 != 0 else { return .zero }
| `- error: ambiguous use of operator '!='
120 | let p2 = (n - 1) / div2
121 |
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
[75/85] Compiling Euler Expression.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Expression/ExpressionSolver.swift:75:18: error: ambiguous use of operator '!='
73 | }
74 |
75 | while fb != 0 && abs(b - a) > precision {
| `- error: ambiguous use of operator '!='
76 | var s = BigDouble.zero
77 | if fa != fc && fb != fc {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[76/85] Compiling Euler ExpressionSolver.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Expression/ExpressionSolver.swift:75:18: error: ambiguous use of operator '!='
73 | }
74 |
75 | while fb != 0 && abs(b - a) > precision {
| `- error: ambiguous use of operator '!='
76 | var s = BigDouble.zero
77 | if fa != fc && fb != fc {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[77/85] Compiling Euler Grouper.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Expression/ExpressionSolver.swift:75:18: error: ambiguous use of operator '!='
73 | }
74 |
75 | while fb != 0 && abs(b - a) > precision {
| `- error: ambiguous use of operator '!='
76 | var s = BigDouble.zero
77 | if fa != fc && fb != fc {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[78/85] Compiling Euler LaTeX.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Expression/ExpressionSolver.swift:75:18: error: ambiguous use of operator '!='
73 | }
74 |
75 | while fb != 0 && abs(b - a) > precision {
| `- error: ambiguous use of operator '!='
76 | var s = BigDouble.zero
77 | if fa != fc && fb != fc {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[79/85] Compiling Euler Lexer.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Expression/ExpressionSolver.swift:75:18: error: ambiguous use of operator '!='
73 | }
74 |
75 | while fb != 0 && abs(b - a) > precision {
| `- error: ambiguous use of operator '!='
76 | var s = BigDouble.zero
77 | if fa != fc && fb != fc {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[80/85] Compiling Euler CellAddressNode.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Expression/ExpressionSolver.swift:75:18: error: ambiguous use of operator '!='
73 | }
74 |
75 | while fb != 0 && abs(b - a) > precision {
| `- error: ambiguous use of operator '!='
76 | var s = BigDouble.zero
77 | if fa != fc && fb != fc {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[81/85] Compiling Euler ConstantNode.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Expression/ExpressionSolver.swift:75:18: error: ambiguous use of operator '!='
73 | }
74 |
75 | while fb != 0 && abs(b - a) > precision {
| `- error: ambiguous use of operator '!='
76 | var s = BigDouble.zero
77 | if fa != fc && fb != fc {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[82/85] Compiling Euler ExpressionNode.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Expression/ExpressionSolver.swift:75:18: error: ambiguous use of operator '!='
73 | }
74 |
75 | while fb != 0 && abs(b - a) > precision {
| `- error: ambiguous use of operator '!='
76 | var s = BigDouble.zero
77 | if fa != fc && fb != fc {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[83/85] Compiling Euler FunctionNode.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Expression/ExpressionSolver.swift:75:18: error: ambiguous use of operator '!='
73 | }
74 |
75 | while fb != 0 && abs(b - a) > precision {
| `- error: ambiguous use of operator '!='
76 | var s = BigDouble.zero
77 | if fa != fc && fb != fc {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[84/85] Compiling Euler Node.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Expression/ExpressionSolver.swift:75:18: error: ambiguous use of operator '!='
73 | }
74 |
75 | while fb != 0 && abs(b - a) > precision {
| `- error: ambiguous use of operator '!='
76 | var s = BigDouble.zero
77 | if fa != fc && fb != fc {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[85/85] Compiling Euler NullNode.swift
/host/spi-builder-workspace/Sources/Euler/Algebra/Expression/ExpressionSolver.swift:75:18: error: ambiguous use of operator '!='
73 | }
74 |
75 | while fb != 0 && abs(b - a) > precision {
| `- error: ambiguous use of operator '!='
76 | var s = BigDouble.zero
77 | if fa != fc && fb != fc {
/host/spi-builder-workspace/Sources/Euler/BigNumber/BigDouble/OperationsBigDouble.swift:328:24: note: found this candidate
326 | public static func ==(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) == rhs }
327 |
328 | public static func !=(lhs: BigDouble, rhs: BigDouble) -> Bool
| `- note: found this candidate
329 | {
330 | return !(lhs == rhs)
331 | }
332 | public static func !=(lhs: BigDouble, rhs: Double) -> Bool { return lhs != BigDouble(rhs) }
| `- note: found this candidate
333 | public static func !=(lhs: Double, rhs: BigDouble) -> Bool { return BigDouble(lhs) != rhs }
334 |
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:69:38: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
67 | let ps = i.matches(regex: "\\(\\)")
68 | for (lower, _) in ps {
69 | i.insert("0", at: String.Index(encodedOffset: lower + 1))
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
70 | }
71 | return i
/host/spi-builder-workspace/Sources/Euler/Algebra/Parser/Lexer.swift:87:45: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
85 | tokens.append(t)
86 | }
87 | let firstIndex = String.Index(encodedOffset: m.count - 1)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
88 | let index = content.index(after: firstIndex)
89 | content = String(content[index...])
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 wasm