The zero value.
SDK
- Xcode 10.2+
Framework
- Swift Standard Library
Declaration
Discussion
Zero is the identity element for addition. For any value, x + .zero == x
and .zero + x == x
.
The zero value.
SDK
Framework
Zero is the identity element for addition. For any value, x + .zero == x
and .zero + x == x
.
static var pi: Double
The mathematical constant pi.
static var infinity: Double
Positive infinity.
static var greatest Finite Magnitude: Double
The greatest finite number representable by this type.
static var nan: Double
A quiet NaN (“not a number”).
static var signaling Na N: Double
A signaling NaN (“not a number”).
static var ulp Of One: Double
The unit in the last place of 1.0.
static var least Nonzero Magnitude: Double
The least positive number.
static var least Normal Magnitude: Double
The least positive normal number.