Skip to content

Commit 66959be

Browse files
riverbuildingjrodewig
authored andcommitted
[DOCS] Correct Painless operator typos (elastic#50472)
1 parent 5e9b629 commit 66959be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/painless/painless-lang-spec/painless-operators-numeric.asciidoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ The following table illustrates the resultant bit from the xoring of two bits.
12041204

12051205
[source,ANTLR4]
12061206
----
1207-
bitwise_and: expression '^' expression;
1207+
bitwise_xor: expression '^' expression;
12081208
----
12091209

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

12851285
[source,ANTLR4]
12861286
----
1287-
bitwise_and: expression '|' expression;
1287+
bitwise_or: expression '|' expression;
12881288
----
12891289

12901290
*Promotion*
@@ -1336,4 +1336,4 @@ def y = x ^ 8; <2>
13361336
implicit cast `def` to `int 7`;
13371337
bitwise or `int 7` and `int 8` -> `int 15`;
13381338
implicit cast `int 15` to `def` -> `def`;
1339-
store `def` to `y`
1339+
store `def` to `y`

0 commit comments

Comments
 (0)