November 2017
Beginner
316 pages
6h 40m
English
The Integer type is used to tell the Julia LLVM compiler about an incoming integer-type object. It's called Int8, Int16, Int32, Int64, or Int128, depending upon the machine you are using. For instance, if you are working on a 64-bit machine, the Integer type would be Int64:
# Knowing the type of the data type passedjulia> typeof(16)Int64# Highest value represented by the In64 typejulia> typemax(Int64)9223372036854775807# Lowest value resprented by the Int64 typejulia> typemin(Int64)-9223372036854775808
We can also have unsigned integers, and the way Julia represents them is by using the types Uint8, Uint16, Uint32, Uint64, and Uint128.
Read now
Unlock full access