Int2X - p2p-org/solana-swift GitHub Wiki
public struct Int2X<Word:UInt1X>: Hashable, Codable BinaryInteger, Codable, Comparable, CustomDebugStringConvertible, CustomStringConvertible, ExpressibleByIntegerLiteral, ExpressibleByStringLiteral, FixedWidthInteger, Hashable, Numeric, Strideable
public typealias IntegerLiteralType = UInt64public typealias Magnitude = UInt2X<Word>public typealias Words = [Word.Words.Element]public typealias Stride = Intpublic init(rawValue:Magnitude)public init(_ source:Int2X) public init() public init?<T>(exactly source: T) where T : BinaryInteger public init<T>(_ source: T) where T : BinaryInteger public init?<T>(exactly source: T) where T : BinaryFloatingPoint public init<T>(_ source: T) where T : BinaryFloatingPoint public init<T:BinaryInteger>(truncatingIfNeeded source: T) public init<T:BinaryInteger>(clamping source: T) public init(integerLiteral value: IntegerLiteralType) public init(stringLiteral value: StringLiteralType) public init(_truncatingBits bits: UInt) public var rawValue:Magnitude = 0public static var isSigned: Bool public static var bitWidth: Int public static var max:Int2X public static var min:Int2X public var magnitude:Magnitude public var description:String public var debugDescription:String public var bitWidth: Int public var words: Words public var trailingZeroBitCount: Int public var nonzeroBitCount: Int public var leadingZeroBitCount: Int public var byteSwapped: Int2X public func addingReportingOverflow(_ other: Int2X) -> (partialValue: Int2X, overflow: Bool) public func subtractingReportingOverflow(_ other: Int2X) -> (partialValue: Int2X, overflow: Bool) public func multipliedFullWidth(by other: Int2X) -> (high: Int2X, low: Magnitude) public func multipliedReportingOverflow(by other: Int2X) -> (partialValue: Int2X, overflow: Bool) public func quotientAndRemainder(dividingBy other: Int2X) -> (quotient: Int2X, remainder: Int2X) public func dividedReportingOverflow(by other :Int2X) -> (partialValue: Int2X, overflow:Bool) public func remainderReportingOverflow(dividingBy other :Int2X) -> (partialValue: Int2X, overflow:Bool) public func dividingFullWidth(_ dividend: (high: Int2X, low: Magnitude)) -> (quotient: Int2X, remainder: Int2X) public func toString(radix:Int=10, uppercase:Bool=false) -> String public func distance(to other: Int2X) -> Int public func advanced(by n: Int) -> Int2X public static func == (_ lhs: Int2X, _ rhs: Int2X)->Bool public static func < (lhs: Int2X, rhs: Int2X) -> Bool public static prefix func ~(_ value:Int2X)->Int2X public static prefix func +(_ value:Int2X)->Int2X public static prefix func -(_ value:Int2X)->Int2X public static func &+(_ lhs:Int2X, _ rhs:Int2X)->Int2X public static func +(_ lhs:Int2X, _ rhs:Int2X)->Int2X public static func += (lhs: inout Int2X, rhs: Int2X) public static func &-(_ lhs:Int2X, _ rhs:Int2X)->Int2X public static func -(_ lhs:Int2X, _ rhs:Int2X)->Int2X public static func -= (lhs: inout Int2X, rhs: Int2X) public static func &*(lhs: Int2X, rhs: Int2X) -> Int2X public static func *(lhs: Int2X, rhs: Int2X) -> Int2X public static func *= (lhs: inout Int2X, rhs: Int2X) public static func &>>(_ lhs:Int2X, _ rhs:Int2X)->Int2X public static func &<<(_ lhs:Int2X, _ rhs:Int2X)->Int2X public static func &>>=(_ lhs:inout Int2X, _ rhs:Int2X) public static func &<<=(_ lhs:inout Int2X, _ rhs:Int2X) public static func / (_ lhs:Int2X, rhs:Int2X)->Int2X public static func /= (_ lhs:inout Int2X, rhs:Int2X) public static func % (_ lhs:Int2X, rhs:Int2X)->Int2X public static func %= (_ lhs:inout Int2X, rhs:Int2X) public static func &= (lhs: inout Int2X, rhs: Int2X) public static func |= (lhs: inout Int2X, rhs: Int2X) public static func ^= (lhs: inout Int2X, rhs: Int2X) public static func <<= <RHS>(lhs: inout Int2X, rhs: RHS) where RHS : BinaryInteger public static func >>= <RHS>(lhs: inout Int2X, rhs: RHS) where RHS : BinaryInteger