Generic Type Method

floatToDouble(_:)

Returns single-precision values converted to double-precision values.

Declaration

static func floatToDouble<U>(_ source: U) -> [Double] where U : AccelerateBuffer, U.Element == Float

See Also

Single-Vector Precision Conversion

static func doubleToFloat<U>(U) -> [Float]

Returns double-precision values converted to single-precision values.

static func convertElements<U, V>(of: U, to: inout V)

Converts double-precision values to single-precision values.

static func convertElements<U, V>(of: U, to: inout V)

Converts single-precision values to double-precision values.