Skip to content

Commit

Permalink
Merge pull request #1369 from BorkBorked/main
Browse files Browse the repository at this point in the history
chore(src/lib): proofreading
  • Loading branch information
Trivo25 authored Feb 6, 2024
2 parents 2c55ad7 + 1bcdc1f commit 4d9bea4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/int.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class UInt64 extends CircuitValue {
* Integer remainder.
*
* `x.mod(y)` returns the value `z` such that `0 <= z < y` and
* `x - z` is divisble by `y`.
* `x - z` is divisible by `y`.
*/
mod(y: UInt64 | number) {
return this.divMod(y).rest;
Expand Down Expand Up @@ -693,7 +693,7 @@ class UInt32 extends CircuitValue {
* Integer remainder.
*
* `x.mod(y)` returns the value `z` such that `0 <= z < y` and
* `x - z` is divisble by `y`.
* `x - z` is divisible by `y`.
*/
mod(y: UInt32 | number) {
return this.divMod(y).rest;
Expand Down Expand Up @@ -1263,7 +1263,7 @@ class Int64 extends CircuitValue implements BalanceChange {
* Integer remainder.
*
* `x.mod(y)` returns the value `z` such that `0 <= z < y` and
* `x - z` is divisble by `y`.
* `x - z` is divisible by `y`.
*/
mod(y: UInt64 | number | string | bigint | UInt32) {
let y_ = UInt64.from(y);
Expand Down

0 comments on commit 4d9bea4

Please sign in to comment.