Instance Method

isEqual(to:)

IEEE 754 equality predicate.

Declaration

func isEqual(to other: CGFloat) -> Bool

Discussion

-0 compares equal to +0, and NaN compares not equal to anything, including itself.

Relationships

From Protocol