Skip to content

Commit

Permalink
Merge pull request #301 from braveltd/patch-2
Browse files Browse the repository at this point in the history
Added divmod in builtins.md
  • Loading branch information
reveloper committed Jul 17, 2023
2 parents cf87af9 + c01dede commit 031e144
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/develop/func/builtins.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ A string can be dumped to the debug log by the `~strdump` function.

## Integer operations
- `muldiv` is a multiple-then-divide operation. The intermediate result is stored in 513-bit integer, so it won't overflow if the actual result fits into a 257-bit integer.
- `divmod` is a operation that takes two numbers as parameters and gives the quotient and remainder of their division.

## Other primitives
- `null?` checks whether the argument is `null`. By the value `null` of a TVM type, `Null` FunC represents absence of a value of some atomic type; see [null values](/develop/func/types#null-values).
Expand Down

0 comments on commit 031e144

Please sign in to comment.