add euclDiv and euclMod to math (#16414)

* add `euclDiv` and `euclMod` to `math`
* use abs
* Update lib/pure/math.nim

Co-authored-by: Clyybber <darkmine956@gmail.com>
This commit is contained in:
flywind 2020-12-23 05:04:38 -06:00 • committed by GitHub
commit b1c3dab208
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 56 additions and 0 deletions

View file

@ -73,6 +73,8 @@
- Added `sequtils` import to `prelude`.
- Added `euclDiv` and `euclMod` to `math`.
## Language changes
- `nimscript` now handles `except Exception as e`.