Deprecate std/sums (#18439)

* Deprecate sums

* Update changelog.md

* Update lib/std/sums.nim

* log

* format

* remove

* Update changelog.md

Co-authored-by: sandytypical <43030857+xflywind@users.noreply.github.com>
This commit is contained in:
Antonis Geralis 2022-06-09 09:27:31 +03:00 • committed by GitHub
commit 836b95c896
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -11,6 +11,8 @@
or define your own `Math.trunc` polyfill using the [`emit` pragma](https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-emit-pragma). Nim uses
`Math.trunc` for the division and modulo operators for integers.
- Deprecated `std/sums`.
- Optional parameters in combination with `: body` syntax (RFC #405) are now opt-in via
`experimental:flexibleOptionalParams`.

View file

@ -8,6 +8,8 @@
## Accurate summation functions.
{.deprecated: "use the nimble package `sums` instead.".}
runnableExamples:
import std/math