Skip to content

Commit 87b9b05

Browse files
committed
add missing semantics
1 parent a744355 commit 87b9b05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

text/0001-int.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ let exponentiate = (x, y) => {
125125
### `remainder: (x: int, y: int) => int`
126126

127127
1. If `y` equals `0`, raise `Divide_by_zero`.
128-
2. Let `number` be mathematically $x / y$.
128+
2. Let `number` be mathematically $x mod y$.
129+
3. Let `int32` be `fromNumber(number)`, return `int32`.
129130

130131
### `abs: (x: int) => int`
131132

0 commit comments

Comments
 (0)