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) -> String
Converts to a string
Static Methods
public static func +(lhs: Int32, rhs: Int32) -> Int32
public static func -(lhs: Int32, rhs: Int32) -> Int32
public static func *(lhs: Int32, rhs: Int32) -> Int32
public static func /(lhs: Int32, rhs: Int32) -> Double
public static func \(lhs: Int32, rhs: Int32) -> Int32
public static func %(lhs: Int32, rhs: Int32) -> Int32
public static func ==(lhs: Int32, rhs: Int32) -> Bool
public static func !=(lhs: Int32, rhs: Int32) -> Bool
public static func >=(lhs: Int32, rhs: Int32) -> Bool
public static func <=(lhs: Int32, rhs: Int32) -> Bool
public static func &(lhs: Int32, rhs: Int32) -> Int32
public static func |(lhs: Int32, rhs: Int32) -> Int32
public static func ^(lhs: Int32, rhs: Int32) -> Int32
public static func >(lhs: Int32, rhs: Int32) -> Bool
public static func <(lhs: Int32, rhs: Int32) -> Bool
public static func <<(lhs: Int32, rhs: Int32) -> Int32
public static func >>(lhs: Int32, rhs: Int32) -> Int32
public static func >>>(lhs: Int32, rhs: Int32) -> Int32
public static func ~(expression: Int32) -> Int32
public static func -(expression: Int32) -> Int32
public static func random(from: Int32, to: Int32) -> Int32
Generates random number in range [from, to)