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:
parent
415689323c
commit
836b95c896
2 changed files with 4 additions and 0 deletions
|
|
@ -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
|
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.
|
`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
|
- Optional parameters in combination with `: body` syntax (RFC #405) are now opt-in via
|
||||||
`experimental:flexibleOptionalParams`.
|
`experimental:flexibleOptionalParams`.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,8 @@
|
||||||
|
|
||||||
## Accurate summation functions.
|
## Accurate summation functions.
|
||||||
|
|
||||||
|
{.deprecated: "use the nimble package `sums` instead.".}
|
||||||
|
|
||||||
runnableExamples:
|
runnableExamples:
|
||||||
import std/math
|
import std/math
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue