julia 1.10.10"binds" the name variable to the value computed on the right-hand side, and the whole assignment is treated by Julia as an expression equal to the right-hand-side value. This means that assignments can be used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value of whatever expression you evaluate.) For example (exclusive or) x y bitwise nand (not and) x y bitwise nor (not or) x >>> y logical shift right x >> y arithmetic shift right x << y logical/arithmetic shift left 251 julia> 123 ⊻ 234 145 julia> xor(1230 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9"binds" the name variable to the value computed on the right-hand side, and the whole assignment is treated by Julia as an expression equal to the right-hand-side value. This means that assignments can be used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value of whatever expression you evaluate.) For example (exclusive or) x y bitwise nand (not and) x y bitwise nor (not or) x >>> y logical shift right x >> y arithmetic shift right x << y logical/arithmetic shift left 251 julia> 123 ⊻ 234 145 julia> xor(1230 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.11.4"binds" the name variable to the value computed on the right-hand side, and the whole assignment is treated by Julia as an expression equal to the right-hand-side value. ThisCHAPTER 4. VARIABLES 13 means used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value of whatever expression you evaluate.) For example (exclusive or) x y bitwise nand (not and) x y bitwise nor (not or) x >>> y logical shift right x >> y arithmetic shift right x << y logical/arithmetic shift left julia> 123 & 234 106 julia> 123 | 234 2510 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 Documentation"binds" the name variable to the value computed on the right-hand side, and the whole assignment is treated by Julia as an expression equal to the right-hand-side value. ThisCHAPTER 4. VARIABLES 13 means used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value of whatever expression you evaluate.) For example (exclusive or) x y bitwise nand (not and) x y bitwise nor (not or) x >>> y logical shift right x >> y arithmetic shift right x << y logical/arithmetic shift left julia> 123 & 234 106 julia> 123 | 234 2510 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release Notes"binds" the name variable to the value computed on the right-hand side, and the whole assignment is treated by Julia as an expression equal to the right-hand-side value. ThisCHAPTER 4. VARIABLES 13 means used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value of whatever expression you evaluate.) For example (exclusive or) x y bitwise nand (not and) x y bitwise nor (not or) x >>> y logical shift right x >> y arithmetic shift right x << y logical/arithmetic shift left julia> 123 & 234 106 julia> 123 | 234 2510 码力 | 2007 页 | 6.73 MB | 3 月前3
julia 1.13.0 DEV"binds" the name variable to the value computed on the right-hand side, and the whole assignment is treated by Julia as an expression equal to the right-hand-side value. This means that assignments can be used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value of whatever expression you evaluate.) For example (exclusive or) x y bitwise nand (not and) x y bitwise nor (not or) x >>> y logical shift right x >> y arithmetic shift right x << y logical/arithmetic shift left Here are some examples with bitwise operators:0 码力 | 2058 页 | 7.45 MB | 3 月前3
Julia 1.12.0 RC1"binds" the name variable to the value computed on the right-hand side, and the whole assignment is treated by Julia as an expression equal to the right-hand-side value. This means that assignments can be used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value of whatever expression you evaluate.) For example (exclusive or) x y bitwise nand (not and) x y bitwise nor (not or) x >>> y logical shift right x >> y arithmetic shift right x << y logical/arithmetic shift left julia> 123 & 234 106 julia> 123 | 234 2510 码力 | 2057 页 | 7.44 MB | 3 月前3
julia 1.12.0 beta1"binds" the name variable to the value computed on the right-hand side, and the whole assignment is treated by Julia as an expression equal to the right-hand-side value. This means that assignments can be used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value of whatever expression you evaluate.) For example (exclusive or) x y bitwise nand (not and) x y bitwise nor (not or) x >>> y logical shift right x >> y arithmetic shift right x << y logical/arithmetic shift left julia> 123 & 234 106 julia> 123 | 234 2510 码力 | 2047 页 | 7.41 MB | 3 月前3
Julia 1.12.0 Beta4"binds" the name variable to the value computed on the right-hand side, and the whole assignment is treated by Julia as an expression equal to the right-hand-side value. This means that assignments can be used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value of whatever expression you evaluate.) For example (exclusive or) x y bitwise nand (not and) x y bitwise nor (not or) x >>> y logical shift right x >> y arithmetic shift right x << y logical/arithmetic shift left julia> 123 & 234 106 julia> 123 | 234 2510 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta3"binds" the name variable to the value computed on the right-hand side, and the whole assignment is treated by Julia as an expression equal to the right-hand-side value. This means that assignments can be used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value of whatever expression you evaluate.) For example (exclusive or) x y bitwise nand (not and) x y bitwise nor (not or) x >>> y logical shift right x >> y arithmetic shift right x << y logical/arithmetic shift left julia> 123 & 234 106 julia> 123 | 234 2510 码力 | 2057 页 | 7.44 MB | 3 月前3
共 24 条
- 1
- 2
- 3













