Instance Method (Default implementation)swift 6.0.3Swift
isTotallyOrdered(belowOrEqualTo:)
func isTotallyOrdered(belowOrEqualTo other: Self) -> Bool
func isTotallyOrdered(belowOrEqualTo other: Self) -> Bool
import Swift
protocol BinaryFloatingPoint : ExpressibleByFloatLiteral, FloatingPoint
A radix-2 (binary) floating-point type.
@frozen struct Bool
A value type whose instances are either true
or false
.
func isTotallyOrdered(belowOrEqualTo other: Self) -> Bool
Returns a Boolean value indicating whether this instance should precede or tie positions with the given value in an ascending sort.
init<Source>(_ value: Source) where Source : BinaryFloatingPoint
Creates a new instance from the given value, rounded to the closest possible representation.
init?<Source>(exactly value: Source) where Source : BinaryFloatingPoint
Creates a new instance from the given value, if it can be represented exactly.
init(signOf: Self, magnitudeOf: Self)
static var radix: Int { get }