diff options
author | inoas <mail@inoas.com> | 2022-10-14 10:08:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 11:08:18 +0100 |
commit | 64b810dfd8cc0b9d9dcbbc6919e9f8a5f12a8cef (patch) | |
tree | 45960022ef31c8e02cd9060446dc71ecf8dfdb1c /CHANGELOG.md | |
parent | fe6271001fe8d7458a284bfb5cc8ac2cdf6d93b3 (diff) | |
download | gleam_stdlib-64b810dfd8cc0b9d9dcbbc6919e9f8a5f12a8cef.tar.gz gleam_stdlib-64b810dfd8cc0b9d9dcbbc6919e9f8a5f12a8cef.zip |
Add `int.{remainder, modulo}` (#342)
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 079ad6c..5d42ff8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,10 @@ ## v0.24.0 - unreleased -- `string.slice` is now tail recursive and will no longer blog the stack on - large inputs when running on JavaScript. +- `string.slice` is now tail recursive and will no longer exceed the stack size + on large inputs on target JavaScript. +- Added `int.remainder` and `int.modulo` functions which allow safe remainder + and modulo operations the way common languages support them. - Added `int.floor_divide` to complement the truncated `int.divide`. ## v0.23.0 - 2022-09-15 |