julia 1.13.0 DEV# 32-bit system: julia> typeof(1) Int32 # 64-bit system: julia> typeof(1) Int64 The Julia internal variable Sys.WORD_SIZE indicates whether the target system is 32-bit or 64-bit: # 32-bit system: Otherwise, operations are implemented in software, and use Float32 for intermediate calculations. As an internal implementation detail, this is achieved under the hood by using LLVM's half type, which behaves Union{Int64, AbstractString}, got a value of type Float64 �→ The compilers for many languages have an internal union construct for reasoning about types; Julia simply exposes it to the programmer. The Julia0 码力 | 2058 页 | 7.45 MB | 3 月前3
Julia 1.11.5 Documentation# 32-bit system: julia> typeof(1) Int32 # 64-bit system: julia> typeof(1) Int64 The Julia internal variable Sys.WORD_SIZE indicates whether the target system is 32-bit or 64-bit: # 32-bit system: Otherwise, operations are implemented in software, and use Float32 for intermediate calculations. As an internal implementation detail, this is achieved under the hood by using LLVM's half type, which behaves Union{Int64, AbstractString}, got a value of type Float64 �→ The compilers for many languages have an internal union construct for reasoning about types; Julia simply exposes it to the programmer. The Julia0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release Notes# 32-bit system: julia> typeof(1) Int32 # 64-bit system: julia> typeof(1) Int64 The Julia internal variable Sys.WORD_SIZE indicates whether the target system is 32-bit or 64-bit: # 32-bit system: Otherwise, operations are implemented in software, and use Float32 for intermediate calculations. As an internal implementation detail, this is achieved under the hood by using LLVM's half type, which behaves Union{Int64, AbstractString}, got a value of type Float64 �→ The compilers for many languages have an internal union construct for reasoning about types; Julia simply exposes it to the programmer. The Julia0 码力 | 2007 页 | 6.73 MB | 3 月前3
julia 1.10.10# 32-bit system: julia> typeof(1) Int32 # 64-bit system: julia> typeof(1) Int64 The Julia internal variable Sys.WORD_SIZE indicates whether the target system is 32-bit or 64-bit: # 32-bit system: Otherwise, operations are implemented in software, and use Float32 for intermediate calculations. As an internal implementation detail, this is achieved under the hood by using LLVM's half type, which behaves Union{Int64, AbstractString}, got a value of type Float64 �→ The compilers for many languages have an internal union construct for reasoning about types; Julia simply exposes it to the programmer. The Julia0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.11.4# 32-bit system: julia> typeof(1) Int32 # 64-bit system: julia> typeof(1) Int64 The Julia internal variable Sys.WORD_SIZE indicates whether the target system is 32-bit or 64-bit: # 32-bit system: Union{Int64, AbstractString}, got a value of type Float64 �→ The compilers for many languages have an internal union construct for reasoning about types; Julia simply exposes it to the programmer. The Julia example) you dispatch on the first argument and then call an internal method: f(x::A, y) = _fA(x, y) f(x::B, y) = _fB(x, y) Then the internal methods _fA and _fB can dispatch on y without concern about0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.10.9# 32-bit system: julia> typeof(1) Int32 # 64-bit system: julia> typeof(1) Int64 The Julia internal variable Sys.WORD_SIZE indicates whether the target system is 32-bit or 64-bit: # 32-bit system: Union{Int64, AbstractString}, got a value of type Float64 �→ The compilers for many languages have an internal union construct for reasoning about types; Julia simply exposes it to the programmer. The Julia example) you dispatch on the first argument and then call an internal method: f(x::A, y) = _fA(x, y) f(x::B, y) = _fB(x, y) Then the internal methods _fA and _fB can dispatch on y without concern about0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.12.0 RC1# 32-bit system: julia> typeof(1) Int32 # 64-bit system: julia> typeof(1) Int64 The Julia internal variable Sys.WORD_SIZE indicates whether the target system is 32-bit or 64-bit: # 32-bit system: Otherwise, operations are implemented in software, and use Float32 for intermediate calculations. As an internal implementation detail, this is achieved under the hood by using LLVM's half type, which behaves Union{Int64, AbstractString}, got a value of type Float64 �→ The compilers for many languages have an internal union construct for reasoning about types; Julia simply exposes it to the programmer. The Julia0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta4# 32-bit system: julia> typeof(1) Int32 # 64-bit system: julia> typeof(1) Int64 The Julia internal variable Sys.WORD_SIZE indicates whether the target system is 32-bit or 64-bit: # 32-bit system: Otherwise, operations are implemented in software, and use Float32 for intermediate calculations. As an internal implementation detail, this is achieved under the hood by using LLVM's half type, which behaves Union{Int64, AbstractString}, got a value of type Float64 �→ The compilers for many languages have an internal union construct for reasoning about types; Julia simply exposes it to the programmer. The Julia0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta3# 32-bit system: julia> typeof(1) Int32 # 64-bit system: julia> typeof(1) Int64 The Julia internal variable Sys.WORD_SIZE indicates whether the target system is 32-bit or 64-bit: # 32-bit system: Otherwise, operations are implemented in software, and use Float32 for intermediate calculations. As an internal implementation detail, this is achieved under the hood by using LLVM's half type, which behaves Union{Int64, AbstractString}, got a value of type Float64 �→ The compilers for many languages have an internal union construct for reasoning about types; Julia simply exposes it to the programmer. The Julia0 码力 | 2057 页 | 7.44 MB | 3 月前3
julia 1.12.0 beta1# 32-bit system: julia> typeof(1) Int32 # 64-bit system: julia> typeof(1) Int64 The Julia internal variable Sys.WORD_SIZE indicates whether the target system is 32-bit or 64-bit: # 32-bit system: Otherwise, operations are implemented in software, and use Float32 for intermediate calculations. As an internal implementation detail, this is achieved under the hood by using LLVM's half type, which behaves Union{Int64, AbstractString}, got a value of type Float64 �→ The compilers for many languages have an internal union construct for reasoning about types; Julia simply exposes it to the programmer. The Julia0 码力 | 2047 页 | 7.41 MB | 3 月前3
共 22 条
- 1
- 2
- 3













