 Julia 中文文档. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5 整数和浮点数 21 5.1 整数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 类型之上建立起来的。多亏了 Julia 有一个很灵 活的、用户可扩展的类型提升系统,所有的数值类型都无需显式转换就可以很自然地相互进行运算。 21 22 CHAPTER 5. 整数和浮点数 5.1 整数 整数字面量以标准形式表示: julia> 1 1 julia> 1234 1234 整型字面量的默认类型取决于目标系统是 32 位还是 64 位架构: # 32 位系统: julia> typeof(3000000000) Int64 无符号整数会通过 0x 前缀以及十六进制数 0-9a-f 来输入和输出(输入也可以使用大写的 A-F)。无 符号值的位数取决于十六进制数字使用的数量: 5.1. 整数 23 julia> 0x1 0x01 julia> typeof(ans) UInt8 julia> 0x123 0x0123 julia> typeof(ans) UInt160 码力 | 1238 页 | 4.59 MB | 1 年前3 Julia 中文文档. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5 整数和浮点数 21 5.1 整数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 类型之上建立起来的。多亏了 Julia 有一个很灵 活的、用户可扩展的类型提升系统,所有的数值类型都无需显式转换就可以很自然地相互进行运算。 21 22 CHAPTER 5. 整数和浮点数 5.1 整数 整数字面量以标准形式表示: julia> 1 1 julia> 1234 1234 整型字面量的默认类型取决于目标系统是 32 位还是 64 位架构: # 32 位系统: julia> typeof(3000000000) Int64 无符号整数会通过 0x 前缀以及十六进制数 0-9a-f 来输入和输出(输入也可以使用大写的 A-F)。无 符号值的位数取决于十六进制数字使用的数量: 5.1. 整数 23 julia> 0x1 0x01 julia> typeof(ans) UInt8 julia> 0x123 0x0123 julia> typeof(ans) UInt160 码力 | 1238 页 | 4.59 MB | 1 年前3
 Julia 1.8.0 DEV Documentation. . . . . . . . . . . . . . . . . . . 21 5 Mathematical Operations and Elementary Functions 23 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1463 页 | 5.01 MB | 1 年前3 Julia 1.8.0 DEV Documentation. . . . . . . . . . . . . . . . . . . 21 5 Mathematical Operations and Elementary Functions 23 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1463 页 | 5.01 MB | 1 年前3
 Julia v1.8.5 Documentation. . . . . . . . . . . . . . . . . . . 22 5 Mathematical Operations and Elementary Functions 23 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1565 页 | 5.04 MB | 1 年前3 Julia v1.8.5 Documentation. . . . . . . . . . . . . . . . . . . 22 5 Mathematical Operations and Elementary Functions 23 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1565 页 | 5.04 MB | 1 年前3
 Julia v1.9.4 Documentation. . . . . . . . . . . . . . . . . . . 24 5 Mathematical Operations and Elementary Functions 25 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1644 页 | 5.27 MB | 1 年前3 Julia v1.9.4 Documentation. . . . . . . . . . . . . . . . . . . 24 5 Mathematical Operations and Elementary Functions 25 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1644 页 | 5.27 MB | 1 年前3
 Julia 1.8.4 Documentation. . . . . . . . . . . . . . . . . . . 22 5 Mathematical Operations and Elementary Functions 23 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1565 页 | 5.04 MB | 1 年前3 Julia 1.8.4 Documentation. . . . . . . . . . . . . . . . . . . 22 5 Mathematical Operations and Elementary Functions 23 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1565 页 | 5.04 MB | 1 年前3
 Julia 1.9.0 DEV Documentation. . . . . . . . . . . . . . . . . . . 25 5 Mathematical Operations and Elementary Functions 26 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1633 页 | 5.23 MB | 1 年前3 Julia 1.9.0 DEV Documentation. . . . . . . . . . . . . . . . . . . 25 5 Mathematical Operations and Elementary Functions 26 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1633 页 | 5.23 MB | 1 年前3
 Julia 1.9.3 Documentation. . . . . . . . . . . . . . . . . . . 24 5 Mathematical Operations and Elementary Functions 25 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1644 页 | 5.27 MB | 1 年前3 Julia 1.9.3 Documentation. . . . . . . . . . . . . . . . . . . 24 5 Mathematical Operations and Elementary Functions 25 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1644 页 | 5.27 MB | 1 年前3
 Julia 1.9.0 rc2 Documentation. . . . . . . . . . . . . . . . . . . 25 5 Mathematical Operations and Elementary Functions 26 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1644 页 | 5.27 MB | 1 年前3 Julia 1.9.0 rc2 Documentation. . . . . . . . . . . . . . . . . . . 25 5 Mathematical Operations and Elementary Functions 26 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1644 页 | 5.27 MB | 1 年前3
 Julia 1.9.2 Documentation. . . . . . . . . . . . . . . . . . . 24 5 Mathematical Operations and Elementary Functions 25 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1644 页 | 5.27 MB | 1 年前3 Julia 1.9.2 Documentation. . . . . . . . . . . . . . . . . . . 24 5 Mathematical Operations and Elementary Functions 25 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1644 页 | 5.27 MB | 1 年前3
 Julia 1.9.1 Documentation. . . . . . . . . . . . . . . . . . . 24 5 Mathematical Operations and Elementary Functions 25 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1643 页 | 5.27 MB | 1 年前3 Julia 1.9.1 Documentation. . . . . . . . . . . . . . . . . . . 24 5 Mathematical Operations and Elementary Functions 25 5.1 Arithmetic Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.2 Boolean portable, efficient implementations of a comprehensive collection of standard mathematical functions. 5.1 Arithmetic Operators The following arithmetic operators are supported on all primitive numeric types: the following software be installed: • [GNU make] — building dependencies. • [gcc & g++][gcc] (>= 5.1) or [Clang][clang] (>= 3.5, >= 6.0 for Apple Clang) — compiling and linking C, C++. • [libatomic][gcc]0 码力 | 1643 页 | 5.27 MB | 1 年前3
共 77 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













