Creates a value initialized to zero.
SDK
- Xcode 6.0.1+
Framework
- Swift Standard Library
Creates a value initialized to zero.
SDK
Framework
init(float Literal: Double)
Creates a new value from the given floating-point literal.
init(integer Literal: Int64)
Creates a new value from the given integer literal.
init(integer Literal: Double)
Creates an instance initialized to the specified integer value.
func advanced(by: Double) -> Double
Returns a new value advanced by the given distance.
func distance(to: Double) -> Double
Returns the distance from this value to the specified value.
func write<Target>(to: inout Target)
Writes a textual representation of this instance into the given output stream.