Operator (Default implementation)swift 6.0.3Swift
<=(_:_:)
static func <= (lhs: Self, rhs: Self) -> Bool
static func <= (lhs: Self, rhs: Self) -> Bool
import Swift
protocol FloatingPoint : Hashable, SignedNumeric, Strideable where Self == Self.Magnitude
A floating-point numeric type.
@frozen struct Bool
A value type whose instances are either true
or false
.
static func <= (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument.
static var ulpOfOne: Self { get }
static func maximum(_ x: Self, _ y: Self) -> Self
static func maximumMagnitude(_ x: Self, _ y: Self) -> Self
static func minimum(_ x: Self, _ y: Self) -> Self
static func minimumMagnitude(_ x: Self, _ y: Self) -> Self
var floatingPointClass: FloatingPointClassification { get }
var nextDown: Self { get }
static func < (lhs: Self, rhs: Self) -> Bool
static func == (lhs: Self, rhs: Self) -> Bool
static func > (lhs: Self, rhs: Self) -> Bool
static func >= (lhs: Self, rhs: Self) -> Bool
func addingProduct(_ lhs: Self, _ rhs: Self) -> Self
func remainder(dividingBy other: Self) -> Self
mutating func round()
func rounded() -> Self
func rounded(_ rule: FloatingPointRoundingRule) -> Self
func squareRoot() -> Self
func truncatingRemainder(dividingBy other: Self) -> Self