The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSound, reference v1.0.3 (c99ff7), with Swift 6.2 for Android on 23 Jun 2025 03:04:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

 27 |
 28 | public func roundFloor10(_ value: Float) -> Float {
 29 |     return floor(value/10)*10
    |                           `- error: cannot convert return expression of type 'Double' to return type 'Float'
 30 | }
 31 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:33:13: error: no exact matches in call to global function 'pow'
 31 |
 32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
 33 |     let p = pow(10,Float(n))
    |             `- error: no exact matches in call to global function 'pow'
 34 |     return round(value*p)/p
 35 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
  |             `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:34:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
 32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
 33 |     let p = pow(10,Float(n))
 34 |     return round(value*p)/p
    |                  `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 35 | }
 36 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:34:26: error: no '/' candidates produce the expected contextual result type 'Float'
 32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
 33 |     let p = pow(10,Float(n))
 34 |     return round(value*p)/p
    |                          `- error: no '/' candidates produce the expected contextual result type 'Float'
 35 | }
 36 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 |     static func -(lhs: Self, rhs: Self) -> Self
12 |     static func *(lhs: Self, rhs: Self) -> Self
13 |     static func /(lhs: Self, rhs: Self) -> Self
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:38:13: error: no exact matches in call to global function 'pow'
 36 |
 37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
 38 |     let p = pow(10,Float(n))
    |             `- error: no exact matches in call to global function 'pow'
 39 |     return floor(value*p)/p
 40 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
  |             `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:39:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
 37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
 38 |     let p = pow(10,Float(n))
 39 |     return floor(value*p)/p
    |                  `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 40 | }
 41 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:39:26: error: no '/' candidates produce the expected contextual result type 'Float'
 37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
 38 |     let p = pow(10,Float(n))
 39 |     return floor(value*p)/p
    |                          `- error: no '/' candidates produce the expected contextual result type 'Float'
 40 | }
 41 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 |     static func -(lhs: Self, rhs: Self) -> Self
12 |     static func *(lhs: Self, rhs: Self) -> Self
13 |     static func /(lhs: Self, rhs: Self) -> Self
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:43:13: error: no exact matches in call to global function 'pow'
 41 |
 42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
 43 |     let p = pow(10,Float(n))
    |             `- error: no exact matches in call to global function 'pow'
 44 |     return ceil(value*p)/p
 45 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
  |             `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:44:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
 42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
 43 |     let p = pow(10,Float(n))
 44 |     return ceil(value*p)/p
    |                 `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 45 | }
 46 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:44:25: error: no '/' candidates produce the expected contextual result type 'Float'
 42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
 43 |     let p = pow(10,Float(n))
 44 |     return ceil(value*p)/p
    |                         `- error: no '/' candidates produce the expected contextual result type 'Float'
 45 | }
 46 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 |     static func -(lhs: Self, rhs: Self) -> Self
12 |     static func *(lhs: Self, rhs: Self) -> Self
13 |     static func /(lhs: Self, rhs: Self) -> Self
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:114:13: error: no exact matches in call to global function 'sin'
112 |                         angleDegrees: Float) -> Point{
113 |     let angle = angleDegrees * .pi/180.0
114 |     let s = sin(angle)
    |             `- error: no exact matches in call to global function 'sin'
115 |     let c = cos(angle)
116 |     var rotatedPoint = Point(point.x, point.y)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:115:13: error: no exact matches in call to global function 'cos'
113 |     let angle = angleDegrees * .pi/180.0
114 |     let s = sin(angle)
115 |     let c = cos(angle)
    |             `- error: no exact matches in call to global function 'cos'
116 |     var rotatedPoint = Point(point.x, point.y)
117 |     rotatedPoint = Point(rotatedPoint.x - center.x,
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:129:13: error: no exact matches in call to global function 'sin'
127 |                         center: Point,
128 |                         angleRadians: Float) -> Point{
129 |     let s = sin(angleRadians)
    |             `- error: no exact matches in call to global function 'sin'
130 |     let c = cos(angleRadians)
131 |     var rotatedPoint = Point(point.x, point.y)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:130:13: error: no exact matches in call to global function 'cos'
128 |                         angleRadians: Float) -> Point{
129 |     let s = sin(angleRadians)
130 |     let c = cos(angleRadians)
    |             `- error: no exact matches in call to global function 'cos'
131 |     var rotatedPoint = Point(point.x, point.y)
132 |     rotatedPoint = Point(rotatedPoint.x - center.x,
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:142:28: error: cannot assign value of type 'Double' to type 'Float'
140 |         }
141 |
142 |         results.barWidth = round((size.width - Float(2.0*results.xMargin))/Float(histogramSeries.bins))
    |                            `- error: cannot assign value of type 'Double' to type 'Float'
143 |
144 |         results.origin = Point((size.width-(2.0*results.xMargin))/Float(maximumX-minimumX)*Float(T(-1)*minimumX), 0.0)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:142:75: error: cannot convert value of type 'Float' to expected argument type 'Double'
140 |         }
141 |
142 |         results.barWidth = round((size.width - Float(2.0*results.xMargin))/Float(histogramSeries.bins))
    |                                                                           `- error: cannot convert value of type 'Float' to expected argument type 'Double'
143 |
144 |         results.origin = Point((size.width-(2.0*results.xMargin))/Float(maximumX-minimumX)*Float(T(-1)*minimumX), 0.0)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:158:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
156 |             // print("\(differenceY)")
157 |             var c = 0
158 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
159 |                 c+=1
160 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:158:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
156 |             // print("\(differenceY)")
157 |             var c = 0
158 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
159 |                 c+=1
160 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:169:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
167 |             // print("\(differenceY)")
168 |             var c = 0
169 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
170 |                 c+=1
171 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:169:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
167 |             // print("\(differenceY)")
168 |             var c = 0
169 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
170 |                 c+=1
171 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:178:33: error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
176 |         let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
177 |         var v1: Float
178 |         if (nD1 > 1 && maximumY <= pow(Float(10), Float(nD1 - 1))) {
    |                                 `- error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
179 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 |         } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:178:36: error: no exact matches in call to global function 'pow'
176 |         let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
177 |         var v1: Float
178 |         if (nD1 > 1 && maximumY <= pow(Float(10), Float(nD1 - 1))) {
    |                                    |- error: no exact matches in call to global function 'pow'
    |                                    |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
    |                                    `- note: candidate has partially matching parameter list (Decimal, Int)
179 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 |         } else if (nD1 > 1) {
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:179:24: error: no exact matches in call to global function 'pow'
177 |         var v1: Float
178 |         if (nD1 > 1 && maximumY <= pow(Float(10), Float(nD1 - 1))) {
179 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
180 |         } else if (nD1 > 1) {
181 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:181:24: error: no exact matches in call to global function 'pow'
179 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 |         } else if (nD1 > 1) {
181 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
182 |         } else {
183 |             v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:183:24: error: no exact matches in call to global function 'pow'
181 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
182 |         } else {
183 |             v1 = Float(pow(Float(10), Float(0)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
184 |         }
185 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:208:34: error: no exact matches in call to global function 'pow'
206 |         let nD2: Int = getNumberOfDigits(xRange)
207 |         var v2: Float
208 |         if (nD2 > 1 && xRange <= pow(Float(10), Float(nD2 - 1))) {
    |                                  |- error: no exact matches in call to global function 'pow'
    |                                  |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
    |                                  `- note: candidate has partially matching parameter list (Decimal, Int)
209 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 |         } else if (nD2 > 1) {
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:208:31: error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
206 |         let nD2: Int = getNumberOfDigits(xRange)
207 |         var v2: Float
208 |         if (nD2 > 1 && xRange <= pow(Float(10), Float(nD2 - 1))) {
    |                               `- error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
209 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 |         } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:209:24: error: no exact matches in call to global function 'pow'
207 |         var v2: Float
208 |         if (nD2 > 1 && xRange <= pow(Float(10), Float(nD2 - 1))) {
209 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
210 |         } else if (nD2 > 1) {
211 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:211:24: error: no exact matches in call to global function 'pow'
209 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 |         } else if (nD2 > 1) {
211 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
212 |         } else {
213 |             v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:213:24: error: no exact matches in call to global function 'pow'
211 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
212 |         } else {
213 |             v2 = Float(pow(Float(10), Float(0)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
214 |         }
215 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
  6 |
  7 | public func niceRoundFloor(_ value: Float) -> Float {
  8 |     return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
    |                  `- error: cannot convert value of type 'Float' to expected argument type 'Double'
  9 | }
 10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:45: error: cannot convert value of type 'Float' to expected argument type 'Double'
  6 |
  7 | public func niceRoundFloor(_ value: Float) -> Float {
  8 |     return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
    |                                             `- error: cannot convert value of type 'Float' to expected argument type 'Double'
  9 | }
 10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:55: error: cannot convert return expression of type 'Double' to return type 'Float'
  6 |
  7 | public func niceRoundFloor(_ value: Float) -> Float {
  8 |     return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
    |                                                       `- error: cannot convert return expression of type 'Double' to return type 'Float'
  9 | }
 10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:78: error: cannot convert value of type 'Float' to expected argument type 'Double'
  6 |
  7 | public func niceRoundFloor(_ value: Float) -> Float {
  8 |     return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
    |                                                                              `- error: cannot convert value of type 'Float' to expected argument type 'Double'
  9 | }
 10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
 10 |
 11 | public func niceRoundCeil(_ value: Float) -> Float {
 12 |     return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
    |                 `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 13 | }
 14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:44: error: cannot convert value of type 'Float' to expected argument type 'Double'
 10 |
 11 | public func niceRoundCeil(_ value: Float) -> Float {
 12 |     return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
    |                                            `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 13 | }
 14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:54: error: cannot convert return expression of type 'Double' to return type 'Float'
 10 |
 11 | public func niceRoundCeil(_ value: Float) -> Float {
 12 |     return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
    |                                                      `- error: cannot convert return expression of type 'Double' to return type 'Float'
 13 | }
 14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:77: error: cannot convert value of type 'Float' to expected argument type 'Double'
 10 |
 11 | public func niceRoundCeil(_ value: Float) -> Float {
 12 |     return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
    |                                                                             `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 13 | }
 14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:25:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
 23 |
 24 | public func roundCeil10(_ value: Float) -> Float {
 25 |     return ceil(value/10)*10
    |                 `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 26 | }
 27 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:25:26: error: cannot convert return expression of type 'Double' to return type 'Float'
 23 |
 24 | public func roundCeil10(_ value: Float) -> Float {
 25 |     return ceil(value/10)*10
    |                          `- error: cannot convert return expression of type 'Double' to return type 'Float'
 26 | }
 27 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:29:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
 27 |
 28 | public func roundFloor10(_ value: Float) -> Float {
 29 |     return floor(value/10)*10
    |                  `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 30 | }
 31 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:29:27: error: cannot convert return expression of type 'Double' to return type 'Float'
 27 |
 28 | public func roundFloor10(_ value: Float) -> Float {
 29 |     return floor(value/10)*10
    |                           `- error: cannot convert return expression of type 'Double' to return type 'Float'
 30 | }
 31 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:33:13: error: no exact matches in call to global function 'pow'
 31 |
 32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
 33 |     let p = pow(10,Float(n))
    |             `- error: no exact matches in call to global function 'pow'
 34 |     return round(value*p)/p
 35 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
  |             `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:34:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
 32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
 33 |     let p = pow(10,Float(n))
 34 |     return round(value*p)/p
    |                  `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 35 | }
 36 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:34:26: error: no '/' candidates produce the expected contextual result type 'Float'
 32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
 33 |     let p = pow(10,Float(n))
 34 |     return round(value*p)/p
    |                          `- error: no '/' candidates produce the expected contextual result type 'Float'
 35 | }
 36 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 |     static func -(lhs: Self, rhs: Self) -> Self
12 |     static func *(lhs: Self, rhs: Self) -> Self
13 |     static func /(lhs: Self, rhs: Self) -> Self
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:38:13: error: no exact matches in call to global function 'pow'
 36 |
 37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
 38 |     let p = pow(10,Float(n))
    |             `- error: no exact matches in call to global function 'pow'
 39 |     return floor(value*p)/p
 40 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
  |             `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:39:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
 37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
 38 |     let p = pow(10,Float(n))
 39 |     return floor(value*p)/p
    |                  `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 40 | }
 41 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:39:26: error: no '/' candidates produce the expected contextual result type 'Float'
 37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
 38 |     let p = pow(10,Float(n))
 39 |     return floor(value*p)/p
    |                          `- error: no '/' candidates produce the expected contextual result type 'Float'
 40 | }
 41 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 |     static func -(lhs: Self, rhs: Self) -> Self
12 |     static func *(lhs: Self, rhs: Self) -> Self
13 |     static func /(lhs: Self, rhs: Self) -> Self
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:43:13: error: no exact matches in call to global function 'pow'
 41 |
 42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
 43 |     let p = pow(10,Float(n))
    |             `- error: no exact matches in call to global function 'pow'
 44 |     return ceil(value*p)/p
 45 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
  |             `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:44:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
 42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
 43 |     let p = pow(10,Float(n))
 44 |     return ceil(value*p)/p
    |                 `- error: cannot convert value of type 'Float' to expected argument type 'Double'
 45 | }
 46 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:44:25: error: no '/' candidates produce the expected contextual result type 'Float'
 42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
 43 |     let p = pow(10,Float(n))
 44 |     return ceil(value*p)/p
    |                         `- error: no '/' candidates produce the expected contextual result type 'Float'
 45 | }
 46 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |                    `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             |- note: '/' produces 'Double', not the expected contextual result type 'Float'
  |             `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 |     static func -(lhs: Self, rhs: Self) -> Self
12 |     static func *(lhs: Self, rhs: Self) -> Self
13 |     static func /(lhs: Self, rhs: Self) -> Self
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 |- note: '/' produces 'Double', not the expected contextual result type 'Float'
   |                 `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
  |                    `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:114:13: error: no exact matches in call to global function 'sin'
112 |                         angleDegrees: Float) -> Point{
113 |     let angle = angleDegrees * .pi/180.0
114 |     let s = sin(angle)
    |             `- error: no exact matches in call to global function 'sin'
115 |     let c = cos(angle)
116 |     var rotatedPoint = Point(point.x, point.y)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:115:13: error: no exact matches in call to global function 'cos'
113 |     let angle = angleDegrees * .pi/180.0
114 |     let s = sin(angle)
115 |     let c = cos(angle)
    |             `- error: no exact matches in call to global function 'cos'
116 |     var rotatedPoint = Point(point.x, point.y)
117 |     rotatedPoint = Point(rotatedPoint.x - center.x,
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:129:13: error: no exact matches in call to global function 'sin'
127 |                         center: Point,
128 |                         angleRadians: Float) -> Point{
129 |     let s = sin(angleRadians)
    |             `- error: no exact matches in call to global function 'sin'
130 |     let c = cos(angleRadians)
131 |     var rotatedPoint = Point(point.x, point.y)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:130:13: error: no exact matches in call to global function 'cos'
128 |                         angleRadians: Float) -> Point{
129 |     let s = sin(angleRadians)
130 |     let c = cos(angleRadians)
    |             `- error: no exact matches in call to global function 'cos'
131 |     var rotatedPoint = Point(point.x, point.y)
132 |     rotatedPoint = Point(rotatedPoint.x - center.x,
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:142:28: error: cannot assign value of type 'Double' to type 'Float'
140 |         }
141 |
142 |         results.barWidth = round((size.width - Float(2.0*results.xMargin))/Float(histogramSeries.bins))
    |                            `- error: cannot assign value of type 'Double' to type 'Float'
143 |
144 |         results.origin = Point((size.width-(2.0*results.xMargin))/Float(maximumX-minimumX)*Float(T(-1)*minimumX), 0.0)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:142:75: error: cannot convert value of type 'Float' to expected argument type 'Double'
140 |         }
141 |
142 |         results.barWidth = round((size.width - Float(2.0*results.xMargin))/Float(histogramSeries.bins))
    |                                                                           `- error: cannot convert value of type 'Float' to expected argument type 'Double'
143 |
144 |         results.origin = Point((size.width-(2.0*results.xMargin))/Float(maximumX-minimumX)*Float(T(-1)*minimumX), 0.0)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:158:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
156 |             // print("\(differenceY)")
157 |             var c = 0
158 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
159 |                 c+=1
160 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:158:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
156 |             // print("\(differenceY)")
157 |             var c = 0
158 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
159 |                 c+=1
160 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:169:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
167 |             // print("\(differenceY)")
168 |             var c = 0
169 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
170 |                 c+=1
171 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:169:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
167 |             // print("\(differenceY)")
168 |             var c = 0
169 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
170 |                 c+=1
171 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:178:33: error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
176 |         let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
177 |         var v1: Float
178 |         if (nD1 > 1 && maximumY <= pow(Float(10), Float(nD1 - 1))) {
    |                                 `- error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
179 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 |         } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:178:36: error: no exact matches in call to global function 'pow'
176 |         let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
177 |         var v1: Float
178 |         if (nD1 > 1 && maximumY <= pow(Float(10), Float(nD1 - 1))) {
    |                                    |- error: no exact matches in call to global function 'pow'
    |                                    |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
    |                                    `- note: candidate has partially matching parameter list (Decimal, Int)
179 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 |         } else if (nD1 > 1) {
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:179:24: error: no exact matches in call to global function 'pow'
177 |         var v1: Float
178 |         if (nD1 > 1 && maximumY <= pow(Float(10), Float(nD1 - 1))) {
179 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
180 |         } else if (nD1 > 1) {
181 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:181:24: error: no exact matches in call to global function 'pow'
179 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 |         } else if (nD1 > 1) {
181 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
182 |         } else {
183 |             v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:183:24: error: no exact matches in call to global function 'pow'
181 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
182 |         } else {
183 |             v1 = Float(pow(Float(10), Float(0)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
184 |         }
185 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:208:34: error: no exact matches in call to global function 'pow'
206 |         let nD2: Int = getNumberOfDigits(xRange)
207 |         var v2: Float
208 |         if (nD2 > 1 && xRange <= pow(Float(10), Float(nD2 - 1))) {
    |                                  |- error: no exact matches in call to global function 'pow'
    |                                  |- note: candidate has partially matching parameter list (CGFloat, CGFloat)
    |                                  `- note: candidate has partially matching parameter list (Decimal, Int)
209 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 |         } else if (nD2 > 1) {
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:208:31: error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
206 |         let nD2: Int = getNumberOfDigits(xRange)
207 |         var v2: Float
208 |         if (nD2 > 1 && xRange <= pow(Float(10), Float(nD2 - 1))) {
    |                               `- error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
209 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 |         } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:209:24: error: no exact matches in call to global function 'pow'
207 |         var v2: Float
208 |         if (nD2 > 1 && xRange <= pow(Float(10), Float(nD2 - 1))) {
209 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
210 |         } else if (nD2 > 1) {
211 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:211:24: error: no exact matches in call to global function 'pow'
209 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 |         } else if (nD2 > 1) {
211 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
212 |         } else {
213 |             v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:213:24: error: no exact matches in call to global function 'pow'
211 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
212 |         } else {
213 |             v2 = Float(pow(Float(10), Float(0)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
214 |         }
215 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[70/96] Compiling ArgumentParser ParsedValues.swift
[71/96] Compiling ArgumentParser ParserError.swift
[72/96] Compiling ArgumentParser SplitArguments.swift
[73/96] Compiling ArgumentParser DumpHelpGenerator.swift
[74/96] Compiling ArgumentParser HelpCommand.swift
[75/96] Compiling ArgumentParser HelpGenerator.swift
[76/96] Compiling ArgumentParser MessageInfo.swift
[77/96] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:184:41: error: no exact matches in call to global function 'atan2'
182 |                 var p1 = start + Point(0.0, -strokeWidth/2)
183 |                 var p2 = start + Point(0.0, strokeWidth/2)
184 |                 let wedgeRotateAngle = -atan2(end.x - start.x, end.y - start.y)
    |                                         |- error: no exact matches in call to global function 'atan2'
    |                                         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
185 |                 p1 = rotatePoint(point: p1, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
186 |                 p2 = rotatePoint(point: p2, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:69: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                                                                     |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
    |                                                                     `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:55: error: no exact matches in call to global function 'sin'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                                                       `- error: no exact matches in call to global function 'sin'
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:28: error: no exact matches in call to global function 'cos'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                            `- error: no exact matches in call to global function 'cos'
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                                          |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
    |                                          `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:70: error: binary operator '*' cannot be applied to two 'Float' operands
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                                                      |- error: binary operator '*' cannot be applied to two 'Float' operands
    |                                                                      `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:56: error: no exact matches in call to global function 'sin'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                                        `- error: no exact matches in call to global function 'sin'
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                          |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
    |                                          `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:55: error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                                       |- error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
    |                                                       `- note: overloads for '-' exist with these partially matching parameter lists: (Double)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:28: error: no exact matches in call to global function 'cos'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                            `- error: no exact matches in call to global function 'cos'
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:201:28: error: no exact matches in call to global function 'atan2'
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
    |                            |- error: no exact matches in call to global function 'atan2'
    |                            `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
203 |         p2 = rotatePoint(point: p2, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:242:47: error: no exact matches in call to global function 'atan2'
240 |                 // Calculate anchor point
241 |                 var startAnchorPoint = start + Point(0.0, strokeWidth/2)
242 |                 let startAnchorRotateAngle = -atan2(end.x - start.x, end.y - start.y)
    |                                               |- error: no exact matches in call to global function 'atan2'
    |                                               `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
243 |                 startAnchorPoint = rotatePoint(point: startAnchorPoint, center: start, angleRadians: startAnchorRotateAngle + 0.5 * Float.pi)
244 |                 startAnchor.resolve(renderer: renderer, center: startAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:255:45: error: no exact matches in call to global function 'atan2'
253 |                 // Calculate anchor point
254 |                 var endAnchorPoint = end + Point(0.0, strokeWidth/2)
255 |                 let endAnchorRotateAngle = -atan2(start.x - end.x, start.y - end.y)
    |                                             |- error: no exact matches in call to global function 'atan2'
    |                                             `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
256 |                 endAnchorPoint = rotatePoint(point: endAnchorPoint, center: end, angleRadians: endAnchorRotateAngle + 0.5 * Float.pi)
257 |                 endAnchor.resolve(renderer: renderer, center: endAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:293:36: error: no exact matches in call to global function 'atan2'
291 |         let startPoint = resolver.resolve(start), endPoint = resolver.resolve(end)
292 |         var startLegPoint = startPoint + Point(0.0, -strokeWidth/2-legLength)
293 |         let startLegRotateAngle = -atan2(endPoint.x - startPoint.x, endPoint.y - startPoint.y)
    |                                    |- error: no exact matches in call to global function 'atan2'
    |                                    `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
294 |         startLegPoint = rotatePoint(point: startLegPoint, center: startPoint, angleRadians: startLegRotateAngle + 0.5 * Float.pi)
295 |         var endLegPoint = endPoint + Point(0.0, -strokeWidth/2-legLength)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:4:32: error: cannot convert value of type 'Double' to specified type 'Float'
  2 |
  3 | fileprivate let MAX_DIV: Float = 50
  4 | fileprivate let sqrt3: Float = sqrt(3)
    |                                `- error: cannot convert value of type 'Double' to specified type 'Float'
  5 |
  6 | // class defining a lineGraph and all its logic
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 |             inc1 = 0.5*(1.0/differenceY)
180 |             var c = 0
181 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 |                 c+=1
183 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 |             inc1 = 0.5*(1.0/differenceY)
180 |             var c = 0
181 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 |                 c+=1
183 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 |             inc1 = differenceY/10.0
190 |             var c = 0
191 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 |                 c+=1
193 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 |             inc1 = differenceY/10.0
190 |             var c = 0
191 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 |                 c+=1
193 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 |             inc1 = 0.5*(1.0/differenceX)
200 |             var c = 0
201 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 |                 c+=1
203 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 |             inc1 = 0.5*(1.0/differenceX)
200 |             var c = 0
201 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 |                 c+=1
203 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 |             inc1 = differenceX/10.0
210 |             var c = 0
211 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 |                 c+=1
213 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 |             inc1 = differenceX/10.0
210 |             var c = 0
211 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 |                 c+=1
213 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 |         let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 |         var v1: Float
220 |         if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
    |                                          `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 |         } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 |         let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 |         var v1: Float
220 |         if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
    |                                                     `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 |         } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:221:24: error: no exact matches in call to global function 'pow'
219 |         var v1: Float
220 |         if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
222 |         } else if (nD1 > 1) {
223 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:223:24: error: no exact matches in call to global function 'pow'
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 |         } else if (nD1 > 1) {
223 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
224 |         } else {
225 |             v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:225:24: error: no exact matches in call to global function 'pow'
223 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
224 |         } else {
225 |             v1 = Float(pow(Float(10), Float(0)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
226 |         }
227 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 |         let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 |         var v2: Float
238 |         if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
    |                                          `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 |         } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 |         let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 |         var v2: Float
238 |         if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
    |                                                     `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 |         } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:239:24: error: no exact matches in call to global function 'pow'
237 |         var v2: Float
238 |         if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
240 |         } else if (nD2 > 1) {
241 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:241:24: error: no exact matches in call to global function 'pow'
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 |         } else if (nD2 > 1) {
241 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
242 |         } else {
243 |             v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:243:24: error: no exact matches in call to global function 'pow'
241 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
242 |         } else {
243 |             v2 = Float(pow(Float(10), Float(0)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
244 |         }
245 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:184:41: error: no exact matches in call to global function 'atan2'
182 |                 var p1 = start + Point(0.0, -strokeWidth/2)
183 |                 var p2 = start + Point(0.0, strokeWidth/2)
184 |                 let wedgeRotateAngle = -atan2(end.x - start.x, end.y - start.y)
    |                                         |- error: no exact matches in call to global function 'atan2'
    |                                         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
185 |                 p1 = rotatePoint(point: p1, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
186 |                 p2 = rotatePoint(point: p2, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:69: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                                                                     |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
    |                                                                     `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:55: error: no exact matches in call to global function 'sin'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                                                       `- error: no exact matches in call to global function 'sin'
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:28: error: no exact matches in call to global function 'cos'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                            `- error: no exact matches in call to global function 'cos'
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                                          |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
    |                                          `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:70: error: binary operator '*' cannot be applied to two 'Float' operands
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                                                      |- error: binary operator '*' cannot be applied to two 'Float' operands
    |                                                                      `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:56: error: no exact matches in call to global function 'sin'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                                        `- error: no exact matches in call to global function 'sin'
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                          |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
    |                                          `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:55: error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                                       |- error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
    |                                                       `- note: overloads for '-' exist with these partially matching parameter lists: (Double)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:28: error: no exact matches in call to global function 'cos'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                            `- error: no exact matches in call to global function 'cos'
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:201:28: error: no exact matches in call to global function 'atan2'
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
    |                            |- error: no exact matches in call to global function 'atan2'
    |                            `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
203 |         p2 = rotatePoint(point: p2, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:242:47: error: no exact matches in call to global function 'atan2'
240 |                 // Calculate anchor point
241 |                 var startAnchorPoint = start + Point(0.0, strokeWidth/2)
242 |                 let startAnchorRotateAngle = -atan2(end.x - start.x, end.y - start.y)
    |                                               |- error: no exact matches in call to global function 'atan2'
    |                                               `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
243 |                 startAnchorPoint = rotatePoint(point: startAnchorPoint, center: start, angleRadians: startAnchorRotateAngle + 0.5 * Float.pi)
244 |                 startAnchor.resolve(renderer: renderer, center: startAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:255:45: error: no exact matches in call to global function 'atan2'
253 |                 // Calculate anchor point
254 |                 var endAnchorPoint = end + Point(0.0, strokeWidth/2)
255 |                 let endAnchorRotateAngle = -atan2(start.x - end.x, start.y - end.y)
    |                                             |- error: no exact matches in call to global function 'atan2'
    |                                             `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
256 |                 endAnchorPoint = rotatePoint(point: endAnchorPoint, center: end, angleRadians: endAnchorRotateAngle + 0.5 * Float.pi)
257 |                 endAnchor.resolve(renderer: renderer, center: endAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:293:36: error: no exact matches in call to global function 'atan2'
291 |         let startPoint = resolver.resolve(start), endPoint = resolver.resolve(end)
292 |         var startLegPoint = startPoint + Point(0.0, -strokeWidth/2-legLength)
293 |         let startLegRotateAngle = -atan2(endPoint.x - startPoint.x, endPoint.y - startPoint.y)
    |                                    |- error: no exact matches in call to global function 'atan2'
    |                                    `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
294 |         startLegPoint = rotatePoint(point: startLegPoint, center: startPoint, angleRadians: startLegRotateAngle + 0.5 * Float.pi)
295 |         var endLegPoint = endPoint + Point(0.0, -strokeWidth/2-legLength)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:4:32: error: cannot convert value of type 'Double' to specified type 'Float'
  2 |
  3 | fileprivate let MAX_DIV: Float = 50
  4 | fileprivate let sqrt3: Float = sqrt(3)
    |                                `- error: cannot convert value of type 'Double' to specified type 'Float'
  5 |
  6 | // class defining a lineGraph and all its logic
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 |             inc1 = 0.5*(1.0/differenceY)
180 |             var c = 0
181 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 |                 c+=1
183 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 |             inc1 = 0.5*(1.0/differenceY)
180 |             var c = 0
181 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 |                 c+=1
183 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 |             inc1 = differenceY/10.0
190 |             var c = 0
191 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 |                 c+=1
193 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 |             inc1 = differenceY/10.0
190 |             var c = 0
191 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 |                 c+=1
193 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 |             inc1 = 0.5*(1.0/differenceX)
200 |             var c = 0
201 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 |                 c+=1
203 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 |             inc1 = 0.5*(1.0/differenceX)
200 |             var c = 0
201 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 |                 c+=1
203 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 |             inc1 = differenceX/10.0
210 |             var c = 0
211 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 |                 c+=1
213 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 |             inc1 = differenceX/10.0
210 |             var c = 0
211 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 |                 c+=1
213 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 |         let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 |         var v1: Float
220 |         if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
    |                                          `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 |         } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 |         let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 |         var v1: Float
220 |         if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
    |                                                     `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 |         } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:221:24: error: no exact matches in call to global function 'pow'
219 |         var v1: Float
220 |         if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
222 |         } else if (nD1 > 1) {
223 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:223:24: error: no exact matches in call to global function 'pow'
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 |         } else if (nD1 > 1) {
223 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
224 |         } else {
225 |             v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:225:24: error: no exact matches in call to global function 'pow'
223 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
224 |         } else {
225 |             v1 = Float(pow(Float(10), Float(0)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
226 |         }
227 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 |         let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 |         var v2: Float
238 |         if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
    |                                          `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 |         } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 |         let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 |         var v2: Float
238 |         if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
    |                                                     `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 |         } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:239:24: error: no exact matches in call to global function 'pow'
237 |         var v2: Float
238 |         if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
240 |         } else if (nD2 > 1) {
241 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:241:24: error: no exact matches in call to global function 'pow'
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 |         } else if (nD2 > 1) {
241 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
242 |         } else {
243 |             v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:243:24: error: no exact matches in call to global function 'pow'
241 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
242 |         } else {
243 |             v2 = Float(pow(Float(10), Float(0)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
244 |         }
245 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:184:41: error: no exact matches in call to global function 'atan2'
182 |                 var p1 = start + Point(0.0, -strokeWidth/2)
183 |                 var p2 = start + Point(0.0, strokeWidth/2)
184 |                 let wedgeRotateAngle = -atan2(end.x - start.x, end.y - start.y)
    |                                         |- error: no exact matches in call to global function 'atan2'
    |                                         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
185 |                 p1 = rotatePoint(point: p1, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
186 |                 p2 = rotatePoint(point: p2, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:69: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                                                                     |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
    |                                                                     `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:55: error: no exact matches in call to global function 'sin'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                                                       `- error: no exact matches in call to global function 'sin'
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:28: error: no exact matches in call to global function 'cos'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                            `- error: no exact matches in call to global function 'cos'
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                                          |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
    |                                          `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:70: error: binary operator '*' cannot be applied to two 'Float' operands
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                                                      |- error: binary operator '*' cannot be applied to two 'Float' operands
    |                                                                      `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:56: error: no exact matches in call to global function 'sin'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                                        `- error: no exact matches in call to global function 'sin'
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                          |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
    |                                          `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:55: error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                                       |- error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
    |                                                       `- note: overloads for '-' exist with these partially matching parameter lists: (Double)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:28: error: no exact matches in call to global function 'cos'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                            `- error: no exact matches in call to global function 'cos'
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:201:28: error: no exact matches in call to global function 'atan2'
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
    |                            |- error: no exact matches in call to global function 'atan2'
    |                            `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
203 |         p2 = rotatePoint(point: p2, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:242:47: error: no exact matches in call to global function 'atan2'
240 |                 // Calculate anchor point
241 |                 var startAnchorPoint = start + Point(0.0, strokeWidth/2)
242 |                 let startAnchorRotateAngle = -atan2(end.x - start.x, end.y - start.y)
    |                                               |- error: no exact matches in call to global function 'atan2'
    |                                               `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
243 |                 startAnchorPoint = rotatePoint(point: startAnchorPoint, center: start, angleRadians: startAnchorRotateAngle + 0.5 * Float.pi)
244 |                 startAnchor.resolve(renderer: renderer, center: startAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:255:45: error: no exact matches in call to global function 'atan2'
253 |                 // Calculate anchor point
254 |                 var endAnchorPoint = end + Point(0.0, strokeWidth/2)
255 |                 let endAnchorRotateAngle = -atan2(start.x - end.x, start.y - end.y)
    |                                             |- error: no exact matches in call to global function 'atan2'
    |                                             `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
256 |                 endAnchorPoint = rotatePoint(point: endAnchorPoint, center: end, angleRadians: endAnchorRotateAngle + 0.5 * Float.pi)
257 |                 endAnchor.resolve(renderer: renderer, center: endAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:293:36: error: no exact matches in call to global function 'atan2'
291 |         let startPoint = resolver.resolve(start), endPoint = resolver.resolve(end)
292 |         var startLegPoint = startPoint + Point(0.0, -strokeWidth/2-legLength)
293 |         let startLegRotateAngle = -atan2(endPoint.x - startPoint.x, endPoint.y - startPoint.y)
    |                                    |- error: no exact matches in call to global function 'atan2'
    |                                    `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
294 |         startLegPoint = rotatePoint(point: startLegPoint, center: startPoint, angleRadians: startLegRotateAngle + 0.5 * Float.pi)
295 |         var endLegPoint = endPoint + Point(0.0, -strokeWidth/2-legLength)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:4:32: error: cannot convert value of type 'Double' to specified type 'Float'
  2 |
  3 | fileprivate let MAX_DIV: Float = 50
  4 | fileprivate let sqrt3: Float = sqrt(3)
    |                                `- error: cannot convert value of type 'Double' to specified type 'Float'
  5 |
  6 | // class defining a lineGraph and all its logic
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 |             inc1 = 0.5*(1.0/differenceY)
180 |             var c = 0
181 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 |                 c+=1
183 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 |             inc1 = 0.5*(1.0/differenceY)
180 |             var c = 0
181 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 |                 c+=1
183 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 |             inc1 = differenceY/10.0
190 |             var c = 0
191 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 |                 c+=1
193 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 |             inc1 = differenceY/10.0
190 |             var c = 0
191 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 |                 c+=1
193 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 |             inc1 = 0.5*(1.0/differenceX)
200 |             var c = 0
201 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 |                 c+=1
203 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 |             inc1 = 0.5*(1.0/differenceX)
200 |             var c = 0
201 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 |                 c+=1
203 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 |             inc1 = differenceX/10.0
210 |             var c = 0
211 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 |                 c+=1
213 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 |             inc1 = differenceX/10.0
210 |             var c = 0
211 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 |                 c+=1
213 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 |         let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 |         var v1: Float
220 |         if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
    |                                          `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 |         } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 |         let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 |         var v1: Float
220 |         if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
    |                                                     `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 |         } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:221:24: error: no exact matches in call to global function 'pow'
219 |         var v1: Float
220 |         if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
222 |         } else if (nD1 > 1) {
223 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:223:24: error: no exact matches in call to global function 'pow'
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 |         } else if (nD1 > 1) {
223 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
224 |         } else {
225 |             v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:225:24: error: no exact matches in call to global function 'pow'
223 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
224 |         } else {
225 |             v1 = Float(pow(Float(10), Float(0)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
226 |         }
227 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 |         let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 |         var v2: Float
238 |         if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
    |                                          `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 |         } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 |         let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 |         var v2: Float
238 |         if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
    |                                                     `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 |         } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:239:24: error: no exact matches in call to global function 'pow'
237 |         var v2: Float
238 |         if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
240 |         } else if (nD2 > 1) {
241 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:241:24: error: no exact matches in call to global function 'pow'
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 |         } else if (nD2 > 1) {
241 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
242 |         } else {
243 |             v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:243:24: error: no exact matches in call to global function 'pow'
241 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
242 |         } else {
243 |             v2 = Float(pow(Float(10), Float(0)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
244 |         }
245 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:184:41: error: no exact matches in call to global function 'atan2'
182 |                 var p1 = start + Point(0.0, -strokeWidth/2)
183 |                 var p2 = start + Point(0.0, strokeWidth/2)
184 |                 let wedgeRotateAngle = -atan2(end.x - start.x, end.y - start.y)
    |                                         |- error: no exact matches in call to global function 'atan2'
    |                                         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
185 |                 p1 = rotatePoint(point: p1, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
186 |                 p2 = rotatePoint(point: p2, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:69: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                                                                     |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
    |                                                                     `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:55: error: no exact matches in call to global function 'sin'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                                                       `- error: no exact matches in call to global function 'sin'
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:28: error: no exact matches in call to global function 'cos'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                            `- error: no exact matches in call to global function 'cos'
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 |     public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
    |                                          |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
    |                                          `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:70: error: binary operator '*' cannot be applied to two 'Float' operands
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                                                      |- error: binary operator '*' cannot be applied to two 'Float' operands
    |                                                                      `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:56: error: no exact matches in call to global function 'sin'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                                        `- error: no exact matches in call to global function 'sin'
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                          |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
    |                                          `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:55: error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                                                       |- error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
    |                                                       `- note: overloads for '-' exist with these partially matching parameter lists: (Double)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:28: error: no exact matches in call to global function 'cos'
198 |         // Calculates arrow head points.
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
    |                            `- error: no exact matches in call to global function 'cos'
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:201:28: error: no exact matches in call to global function 'atan2'
199 |         var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 |         var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 |         let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
    |                            |- error: no exact matches in call to global function 'atan2'
    |                            `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
202 |         p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
203 |         p2 = rotatePoint(point: p2, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:242:47: error: no exact matches in call to global function 'atan2'
240 |                 // Calculate anchor point
241 |                 var startAnchorPoint = start + Point(0.0, strokeWidth/2)
242 |                 let startAnchorRotateAngle = -atan2(end.x - start.x, end.y - start.y)
    |                                               |- error: no exact matches in call to global function 'atan2'
    |                                               `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
243 |                 startAnchorPoint = rotatePoint(point: startAnchorPoint, center: start, angleRadians: startAnchorRotateAngle + 0.5 * Float.pi)
244 |                 startAnchor.resolve(renderer: renderer, center: startAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:255:45: error: no exact matches in call to global function 'atan2'
253 |                 // Calculate anchor point
254 |                 var endAnchorPoint = end + Point(0.0, strokeWidth/2)
255 |                 let endAnchorRotateAngle = -atan2(start.x - end.x, start.y - end.y)
    |                                             |- error: no exact matches in call to global function 'atan2'
    |                                             `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
256 |                 endAnchorPoint = rotatePoint(point: endAnchorPoint, center: end, angleRadians: endAnchorRotateAngle + 0.5 * Float.pi)
257 |                 endAnchor.resolve(renderer: renderer, center: endAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:293:36: error: no exact matches in call to global function 'atan2'
291 |         let startPoint = resolver.resolve(start), endPoint = resolver.resolve(end)
292 |         var startLegPoint = startPoint + Point(0.0, -strokeWidth/2-legLength)
293 |         let startLegRotateAngle = -atan2(endPoint.x - startPoint.x, endPoint.y - startPoint.y)
    |                                    |- error: no exact matches in call to global function 'atan2'
    |                                    `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
294 |         startLegPoint = rotatePoint(point: startLegPoint, center: startPoint, angleRadians: startLegRotateAngle + 0.5 * Float.pi)
295 |         var endLegPoint = endPoint + Point(0.0, -strokeWidth/2-legLength)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:4:32: error: cannot convert value of type 'Double' to specified type 'Float'
  2 |
  3 | fileprivate let MAX_DIV: Float = 50
  4 | fileprivate let sqrt3: Float = sqrt(3)
    |                                `- error: cannot convert value of type 'Double' to specified type 'Float'
  5 |
  6 | // class defining a lineGraph and all its logic
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 |             inc1 = 0.5*(1.0/differenceY)
180 |             var c = 0
181 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 |                 c+=1
183 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 |             inc1 = 0.5*(1.0/differenceY)
180 |             var c = 0
181 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 |                 c+=1
183 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 |             inc1 = differenceY/10.0
190 |             var c = 0
191 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 |                 c+=1
193 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 |             inc1 = differenceY/10.0
190 |             var c = 0
191 |             while(abs(inc1)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 |                 c+=1
193 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 |             inc1 = 0.5*(1.0/differenceX)
200 |             var c = 0
201 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 |                 c+=1
203 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 |             inc1 = 0.5*(1.0/differenceX)
200 |             var c = 0
201 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 |                 c+=1
203 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 |             inc1 = differenceX/10.0
210 |             var c = 0
211 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                                      `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 |                 c+=1
213 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 |             inc1 = differenceX/10.0
210 |             var c = 0
211 |             while(abs(inc2)*pow(10.0,Float(c))<1.0) {
    |                   `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 |                 c+=1
213 |             }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 |         let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 |         var v1: Float
220 |         if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
    |                                          `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 |         } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 |         let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 |         var v1: Float
220 |         if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
    |                                                     `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 |         } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:221:24: error: no exact matches in call to global function 'pow'
219 |         var v1: Float
220 |         if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
222 |         } else if (nD1 > 1) {
223 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:223:24: error: no exact matches in call to global function 'pow'
221 |             v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 |         } else if (nD1 > 1) {
223 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
224 |         } else {
225 |             v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:225:24: error: no exact matches in call to global function 'pow'
223 |             v1 = Float(pow(Float(10), Float(nD1 - 1)))
224 |         } else {
225 |             v1 = Float(pow(Float(10), Float(0)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
226 |         }
227 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 |         let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 |         var v2: Float
238 |         if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
    |                                          `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 |         } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 |         let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 |         var v2: Float
238 |         if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
    |                                                     `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 |         } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:239:24: error: no exact matches in call to global function 'pow'
237 |         var v2: Float
238 |         if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
240 |         } else if (nD2 > 1) {
241 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:241:24: error: no exact matches in call to global function 'pow'
239 |             v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 |         } else if (nD2 > 1) {
241 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
242 |         } else {
243 |             v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:243:24: error: no exact matches in call to global function 'pow'
241 |             v2 = Float(pow(Float(10), Float(nD2 - 1)))
242 |         } else {
243 |             v2 = Float(pow(Float(10), Float(0)))
    |                        |- error: no exact matches in call to global function 'pow'
    |                        `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
244 |         }
245 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
    |        `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
BUILD FAILURE 6.2 android