Improve math module (#17019)

* Improve documentation for math

Support empty input for cumsummed
Use runnableExamples
Move some examples to tests
Add more tests

* Update tests/stdlib/tmath.nim

Move some tests to trandom.nim
Move tests into main template where possible
Add test for #17017

* Add more tests for gamma & lgamma

Remove gamma(-1.0) example
Small fixes/changes

* Move more tests into template main()

* Fix typos

* Add edge case examples for copySign
This commit is contained in:
konsumlamm 2021-02-12 17:13:39 +01:00 • committed by GitHub
commit afa87f223c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 765 additions and 789 deletions

File diff suppressed because it is too large Load diff