Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update painless-operators-numeric.asciidoc #50472

Merged
merged 1 commit into from
Dec 30, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ The following table illustrates the resultant bit from the xoring of two bits.

[source,ANTLR4]
----
bitwise_and: expression '^' expression;
bitwise_xor: expression '^' expression;
----

*Promotion*
Expand Down Expand Up @@ -1284,7 +1284,7 @@ The following table illustrates the resultant bit from the oring of two bits.

[source,ANTLR4]
----
bitwise_and: expression '|' expression;
bitwise_or: expression '|' expression;
----

*Promotion*
Expand Down Expand Up @@ -1336,4 +1336,4 @@ def y = x ^ 8; <2>
implicit cast `def` to `int 7`;
bitwise or `int 7` and `int 8` -> `int 15`;
implicit cast `int 15` to `def` -> `def`;
store `def` to `y`
store `def` to `y`