Skip to content

Commit 5ff331d

Browse files
authored
Refine grammar, clarity, and precision in documentation (#356)
* Update 06.mdx * Update 07.mdx * Update 0B.mdx * Update 03.mdx * Update 05.mdx * Update 06.mdx
1 parent c4137d1 commit 5ff331d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/opcodes/03.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ group: Stop and Arithmetic Operations
88
## Stack input
99

1010
0. `a`: first integer value.
11-
1. `b`: integer value to subtract to the first.
11+
1. `b`: integer value to subtract from the first.
1212

1313
## Stack output
1414

docs/opcodes/05.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ All values are treated as two’s complement signed 256-bit integers. Note the o
1616

1717
## Stack output
1818

19-
0. `a // b`: integer result of the signed integer division. If the denominator is 0, the result will be 0.
19+
0. `a // b`: signed integer division result. If the denominator is 0, the result will be 0.
2020

2121
## Examples
2222

docs/opcodes/06.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ group: Stop and Arithmetic Operations
1212

1313
## Stack output
1414

15-
0. `a % b`: integer result of the integer modulo. If the denominator is 0, the result will be 0.
15+
0. `a % b`: integer result of the integer modulo. If the denominator equals 0, the result is 0.
1616

1717
## Examples
1818

docs/opcodes/07.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ group: Stop and Arithmetic Operations
77

88
## Notes
99

10-
All values are treated as twos complement signed 256-bit integers. Note the overflow semantic when −2<sup>255</sup> is negated.
10+
All values are treated as two's complement 256-bit signed integers. Note the overflow semantic when −2<sup>255</sup> is negated.
1111

1212
## Stack input
1313

docs/opcodes/0B.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ group: Stop and Arithmetic Operations
77

88
## Stack input
99

10-
0. `b`: size in byte - 1 of the integer to sign extend.
10+
0. `b`: size in byte - 1 of the integer to be sign-extended.
1111
1. `x`: integer value to sign extend.
1212

1313
## Stack output

0 commit comments

Comments
 (0)