move formatfloat out of system (#20195)
* move formatfloat out of system * fixes doc * Update changelog.md * careless * fixes * deprecate system/formatfloat * better handling
This commit is contained in:
parent
12f23d5ae8
commit
b6bfe38ff5
23 changed files with 201 additions and 176 deletions
|
|
@ -42,7 +42,7 @@ when not declared(signbit):
|
|||
proc signbit*(x: SomeFloat): bool {.inline.} =
|
||||
result = c_signbit(x) != 0
|
||||
|
||||
import system/formatfloat
|
||||
import std/formatfloat
|
||||
|
||||
proc toStrMaxPrecision*(f: BiggestFloat | float32): string =
|
||||
const literalPostfix = when f is float32: "f" else: ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue