make more standard libraries work with nimPreviewSlimSystem (#20343)
* make more standard libraries work with `nimPreviewSlimSystem` * typo * part two * Delete specutils.nim * fixes more tests * more fixes * fixes tests * fixes three more tests * add formatfloat import * fix * last
This commit is contained in:
parent
98a717dda9
commit
3d2f0e2c7c
194 changed files with 299 additions and 54 deletions
|
|
@ -7,6 +7,8 @@ discard """
|
|||
# but it requires disabling certain lines with `when not defined(nimTmathCase2)`
|
||||
|
||||
import std/math
|
||||
import std/assertions
|
||||
|
||||
|
||||
# Function for approximate comparison of floats
|
||||
proc `==~`(x, y: float): bool = abs(x - y) < 1e-9
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue