mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-12 18:15:30 +00:00
progress
This commit is contained in:
@@ -2130,6 +2130,10 @@ template unlikely*(val: bool): bool =
|
||||
include std/private/digitsutils
|
||||
export addInt
|
||||
|
||||
import std/formatfloat
|
||||
when not defined(nimPreviewSlimSystem):
|
||||
export addFloat
|
||||
|
||||
import system/dollars
|
||||
export dollars
|
||||
|
||||
@@ -3032,8 +3036,7 @@ when defined(genode):
|
||||
|
||||
|
||||
when not defined(nimPreviewSlimSystem):
|
||||
import std/widestrs
|
||||
export widestrs
|
||||
include std/widestrs
|
||||
|
||||
when notJSnotNims:
|
||||
when defined(windows) and compileOption("threads"):
|
||||
|
||||
@@ -147,10 +147,6 @@ when defined(nimV2):
|
||||
proc raiseObjectCaseTransition() {.compilerproc.} =
|
||||
sysFatal(FieldDefect, "assignment to discriminant changes object branch")
|
||||
|
||||
import std/formatfloat
|
||||
|
||||
when not defined(nimPreviewSlimSystem):
|
||||
export addFloat
|
||||
|
||||
func f2s(x: float | float32): string =
|
||||
## Outplace version of `addFloat`.
|
||||
|
||||
@@ -7,7 +7,6 @@ import std/private/miscdollars
|
||||
|
||||
when not defined(nimPreviewSlimSystem):
|
||||
import std/formatfloat
|
||||
export addFloat
|
||||
|
||||
func `$`*(x: float | float32): string =
|
||||
## Outplace version of `addFloat`.
|
||||
|
||||
Reference in New Issue
Block a user