Instance Methodswift 6.0.1Swift
addingReportingOverflow(_:)
- iOS
- 18.0+
- macOS
- 15.0+
- tvOS
- 18.0+
- visionOS
- 2.0+
- watchOS
- 11.0+
func addingReportingOverflow(_ other: UInt128) -> (partialValue: UInt128, overflow: Bool)
Other members in extension
Types
Typealiases
Type members
init<T>(T
) init<T>(T
) init(bitPattern: Int128
) init<T>(clamping: T
) init?<T>(exactly: T
) init?<T>(exactly: T
) init(from: any Decoder
) throws init<T>(truncatingIfNeeded: T
) static var bitWidth: Int
static var max: UInt128
static var min: UInt128
static var zero: UInt128
static func % (a: UInt128, b: UInt128
) -> UInt128 static func %= (a: inout UInt128, b: UInt128
) static func &<<= (a: inout UInt128, b: UInt128
) static func &= (a: inout UInt128, b: UInt128
) static func &>>= (a: inout UInt128, b: UInt128
) static func * (a: UInt128, b: UInt128
) -> UInt128 static func *= (a: inout UInt128, b: UInt128
) static func + (a: UInt128, b: UInt128
) -> UInt128 static func - (a: UInt128, b: UInt128
) -> UInt128 static func / (a: UInt128, b: UInt128
) -> UInt128 static func /= (a: inout UInt128, b: UInt128
) static func < (a: UInt128, b: UInt128
) -> Bool static func == (a: UInt128, b: UInt128
) -> Bool static func ^= (a: inout UInt128, b: UInt128
) static func |= (a: inout UInt128, b: UInt128
)
Instance members
var byteSwapped: UInt128
var customMirror: Mirror
A mirror that reflects the
UInt128
instance.var leadingZeroBitCount: Int
var magnitude: UInt128
var nonzeroBitCount: Int
var trailingZeroBitCount: Int
var words: UInt128.Words
func dividedReportingOverflow(by: UInt128
) -> (partialValue: UInt128, overflow: Bool) func encode(to: any Encoder
) throws Encodes this value into the given encoder.
func hash(into: inout Hasher
) func multipliedReportingOverflow(by: UInt128
) -> (partialValue: UInt128, overflow: Bool) func remainderReportingOverflow(dividingBy: UInt128
) -> (partialValue: UInt128, overflow: Bool) func subtractingReportingOverflow(UInt128
) -> (partialValue: UInt128, overflow: Bool)