Double.infinity
in Swift returns a positive infinity value. When compared, it is greater than all finite values and equal to infinite values.
Double.infinity
This method returns an infinity value inf
.
Double.infinity
, and store it in the variable infValue
.infValue
with some other values and infinity itself.Free Resources