diff options
author | Tomohiro <gpuppur@gmail.com> | 2021-08-19 18:35:40 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-19 11:35:40 +0200 |
commit | 373bbd9bb4cbcb06fbfd80ab0e968127dc098873 (patch) | |
tree | feafa7e641bc5a738fd236e761152a5708c80b97 /changelog.md | |
parent | 394f4ac7bb92fe5aaf902495c6b43b3451667602 (diff) | |
download | Nim-373bbd9bb4cbcb06fbfd80ab0e968127dc098873.tar.gz |
Add ceilDiv to math (#18596)
* Use assert in runnableExamples and improve boundary check * Add more tests for ceilDiv * Fix comment in ceilDiv * Calling ceilDiv with int type T such like sizeof(T) > 8 is error
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index 77a77f2f5..447401cd0 100644 --- a/changelog.md +++ b/changelog.md @@ -148,6 +148,8 @@ - Added `clamp` in `math` which allows using a `Slice` to clamp to a value. +- Added `ceilDiv` in `math` for round up integer division. + - The JSON module can now handle integer literals and floating point literals of arbitrary length and precision. Numbers that do not fit the underlying `BiggestInt` or `BiggestFloat` fields are |