init(Double)
Creates an integer from the given floating-point value, rounding toward zero.
init(Float)
Creates an integer from the given floating-point value, rounding toward zero.
init(Float16)
Creates an integer from the given floating-point value, rounding toward zero.
init(bitPattern: ObjectIdentifier)
Creates an integer that captures the full value of the given object identifier.
init(bitPattern: UInt)
Creates a new instance with the same memory representation as the given value.
init(bitPattern: OpaquePointer?)
Creates a new value with the bit pattern of the given pointer.
init<P>(bitPattern: P?)
Creates a new value with the bit pattern of the given pointer.
init?<T>(codingKey: T)
init?(exactly: Double)
Creates an integer from the given floating-point value, if it can be represented exactly.
init?(exactly: Float)
Creates an integer from the given floating-point value, if it can be represented exactly.
init?(exactly: Float16)
Creates an integer from the given floating-point value, if it can be represented exactly.
init(from: any Decoder) throws
static var bitWidth: Int
The number of bits used for the underlying binary representation of values of this type.
static func != (lhs: Int, rhs: Int) -> Bool
static func % (lhs: Int, rhs: Int) -> Int
static func %= (lhs: inout Int, rhs: Int)
static func & (lhs: Int, rhs: Int) -> Int
static func &<< (lhs: Int, rhs: Int) -> Int
static func &<<= (lhs: inout Int, rhs: Int)
static func &= (lhs: inout Int, rhs: Int)
static func &>> (lhs: Int, rhs: Int) -> Int
static func &>>= (lhs: inout Int, rhs: Int)
static func * (lhs: Int, rhs: Int) -> Int
Multiplies two values and produces their product.
static func *= (lhs: inout Int, rhs: Int)
Multiplies two values and stores the result in the left-hand-side variable.
static func + (lhs: Int, rhs: Int) -> Int
Adds two values and produces their sum.
static func += (lhs: inout Int, rhs: Int)
Adds two values and stores the result in the left-hand-side variable.
static func - (lhs: Int, rhs: Int) -> Int
Subtracts one value from another and produces their difference.
static func -= (lhs: inout Int, rhs: Int)
Subtracts the second value from the first and stores the difference in the left-hand-side variable.
static func / (lhs: Int, rhs: Int) -> Int
static func /= (lhs: inout Int, rhs: Int)
static func < (lhs: Int, rhs: Int) -> Bool
static func <= (lhs: Int, rhs: Int) -> Bool
static func == (lhs: Int, rhs: Int) -> Bool
static func > (lhs: Int, rhs: Int) -> Bool
static func >= (lhs: Int, rhs: Int) -> Bool
static func ^ (lhs: Int, rhs: Int) -> Int
static func ^= (lhs: inout Int, rhs: Int)
static func | (lhs: Int, rhs: Int) -> Int
static func |= (lhs: inout Int, rhs: Int)