summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2020-08-25 15:59:42 +0200
committerGitHub <noreply@github.com>2020-08-25 15:59:42 +0200
commit5163fe7d878f48870c6d0235d70d45e1e414dca8 (patch)
tree79d78e9339cd58400f2a8490bb2778ef78fdb4b1 /lib/pure
parent7cee63bba3805bd49f0c03b94d65f02dea04f946 (diff)
downloadNim-5163fe7d878f48870c6d0235d70d45e1e414dca8.tar.gz
remove deprecation from `math.round` (#15224)
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/math.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pure/math.nim b/lib/pure/math.nim
index c02bef2f7..21d614270 100644
--- a/lib/pure/math.nim
+++ b/lib/pure/math.nim
@@ -768,8 +768,7 @@ else: # JS
     ##  ( 6.5 mod -2.5) ==  1.5
     ##  (-6.5 mod -2.5) == -1.5
 
-proc round*[T: float32|float64](x: T, places: int): T {.
-    deprecated: "use strformat module instead".} =
+proc round*[T: float32|float64](x: T, places: int): T =
   ## Decimal rounding on a binary floating point number.
   ##
   ## This function is NOT reliable. Floating point numbers cannot hold