Skip to content

Commit

Permalink
Merge pull request #40149 from bicycle1885/patch-3
Browse files Browse the repository at this point in the history
fix a typo on the arithmetic and the logical shift
  • Loading branch information
vchuravy authored Mar 24, 2021
2 parents cc639ec + 7fbba2a commit 08006c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/manual/noteworthy-differences.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ For users coming to Julia from R, these are some noteworthy differences:
parenthesis may be required.
* Julia's [`^`](@ref) is exponentiation (pow), not bitwise XOR as in C/C++ (use [``](@ref xor), or
[`xor`](@ref), in Julia)
* Julia has two right-shift operators, `>>` and `>>>`. `>>>` performs an arithmetic shift, `>>`
* Julia has two right-shift operators, `>>` and `>>>`. `>>` performs an arithmetic shift, `>>>`
always performs a logical shift, unlike C/C++, where the meaning of `>>` depends on the type of
the value being shifted.
* Julia's `->` creates an anonymous function, it does not access a member via a pointer.
Expand Down

0 comments on commit 08006c4

Please sign in to comment.