mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-21 06:45:27 +00:00
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:
@@ -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`.
|
||||
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
## Accurate summation functions.
|
||||
|
||||
{.deprecated: "use the nimble package `sums` instead.".}
|
||||
|
||||
runnableExamples:
|
||||
import std/math
|
||||
|
||||
|
||||
Reference in New Issue
Block a user