Int32
Represents a 32-bit signed integer. This is the default integer type on 32-bit systems, additionally this is the int type used when interacting with C APIs.
Initializers
Methods
public func toString(base: Int32) -> StringConverts to a string
Static Methods
public static func +(lhs: Int32, rhs: Int32) -> Int32public static func -(lhs: Int32, rhs: Int32) -> Int32public static func *(lhs: Int32, rhs: Int32) -> Int32public static func /(lhs: Int32, rhs: Int32) -> Doublepublic static func \(lhs: Int32, rhs: Int32) -> Int32public static func %(lhs: Int32, rhs: Int32) -> Int32public static func ==(lhs: Int32, rhs: Int32) -> Boolpublic static func !=(lhs: Int32, rhs: Int32) -> Boolpublic static func >=(lhs: Int32, rhs: Int32) -> Boolpublic static func <=(lhs: Int32, rhs: Int32) -> Boolpublic static func &(lhs: Int32, rhs: Int32) -> Int32public static func |(lhs: Int32, rhs: Int32) -> Int32public static func ^(lhs: Int32, rhs: Int32) -> Int32public static func >(lhs: Int32, rhs: Int32) -> Boolpublic static func <(lhs: Int32, rhs: Int32) -> Boolpublic static func <<(lhs: Int32, rhs: Int32) -> Int32public static func >>(lhs: Int32, rhs: Int32) -> Int32public static func >>>(lhs: Int32, rhs: Int32) -> Int32public static func ~(expression: Int32) -> Int32public static func -(expression: Int32) -> Int32public static func random(from: Int32, to: Int32) -> Int32Generates random number in range [from, to)