associatedtype ExponentA type that can represent any written exponent.
init(Int)Creates a new value, rounded to the closest possible representation.
init<Source>(Source)Creates a new value, rounded to the closest possible representation.
init?<Source>(exactly: Source)Creates a new value, if the given integer can be represented exactly.
init(sign: FloatingPointSign, exponent: Self.Exponent, significand: Self)Creates a new value from the given sign, exponent, and significand.
init(signOf: Self, magnitudeOf: Self)Creates a new floating-point value using the sign of one value and the magnitude of another.
static var greatestFiniteMagnitude: SelfThe greatest finite number representable by this type.
static var infinity: SelfPositive infinity.
static var leastNonzeroMagnitude: SelfThe least positive number.
static var leastNormalMagnitude: SelfThe least positive normal number.
static var nan: SelfA quiet NaN (“not a number”).
static var pi: SelfThe mathematical constant pi (π), approximately equal to 3.14159.
static var radix: IntThe radix, or base of exponentiation, for a floating-point type.
static var signalingNaN: SelfA signaling NaN (“not a number”).
static var ulpOfOne: SelfThe unit in the last place of 1.0.
static func maximum(Self, Self) -> SelfReturns the greater of the two given values.
static func maximumMagnitude(Self, Self) -> SelfReturns the value with greater magnitude.
static func minimum(Self, Self) -> SelfReturns the lesser of the two given values.
static func minimumMagnitude(Self, Self) -> SelfReturns the value with lesser magnitude.
static func * (lhs: Self, rhs: Self) -> SelfMultiplies two values and produces their product, rounding to a representable value.
static func *= (lhs: inout Self, rhs: Self)Multiplies two values and stores the result in the left-hand-side variable, rounding to a representable value.
static func + (lhs: Self, rhs: Self) -> SelfAdds two values and produces their sum, rounded to a representable value.
static func += (lhs: inout Self, rhs: Self)Adds two values and stores the result in the left-hand-side variable, rounded to a representable value.
static func - (operand: Self) -> SelfCalculates the additive inverse of a value.
static func - (lhs: Self, rhs: Self) -> SelfSubtracts one value from another and produces their difference, rounded to a representable value.
static func -= (lhs: inout Self, rhs: Self)Subtracts the second value from the first and stores the difference in the left-hand-side variable, rounding to a representable value.
static func / (lhs: Self, rhs: Self) -> SelfReturns the quotient of dividing the first value by the second, rounded to a representable value.
static func /= (lhs: inout Self, rhs: Self)Divides the first value by the second and stores the quotient in the left-hand-side variable, rounding to a representable value.