FloatingPointPredicate
public enum FloatingPointPredicate : String, Hashable, Sendable
extension FloatingPointPredicate: LosslessStringConvertible
The predicate of an integer comparison.
Note
Ordered means that neither operand is a QNAN while unordered means that either operand may be a QNAN.-
No comparison; always false.
Declaration
Swift
case alwaysFalse = "false" -
No comparison; always true.
Declaration
Swift
case alwaysTrue = "true" -
Values are ordered and equal.
Declaration
Swift
case oeq -
Values are ordered and not equal.
Declaration
Swift
case one -
Values are ordered and LHS is greater than RHS.
Declaration
Swift
case ogt -
Values are ordered and LHS greater than or equal to RHS.
Declaration
Swift
case oge -
Values are ordered and LHS is less than RHS.
Declaration
Swift
case olt -
Values are ordered and LHS is less than or equal to RHS.
Declaration
Swift
case ole -
Values are ordered (no nans).
Declaration
Swift
case ord -
Values are unordered or equal.
Declaration
Swift
case ueq -
Values are unordered or not equal.
Declaration
Swift
case une -
Values are unordered or LHS is greater than RHS.
Declaration
Swift
case ugt -
Values are unordered or LHS is greater than or equal to RHS.
Declaration
Swift
case uge -
Values are unordered or LHS is less than RHS.
Declaration
Swift
case ult -
Values are unordered or LHS is less than or equal to RHS.
Declaration
Swift
case ule -
Values are unordered (either nans).
Declaration
Swift
case uno -
Declaration
Swift
public init?(_ description: String) -
Declaration
Swift
public var description: String { get }
View on GitHub