rename strformat.fmt to % as it works better with backslash escape sequences; refs #6958
This commit is contained in:
parent
df73d412ba
commit
fb8def869c
3 changed files with 110 additions and 110 deletions
|
|
@ -22,7 +22,7 @@ proc frexp_test(lo, hi, step: float64) =
|
|||
doAssert(abs(rslt - x) < eps)
|
||||
|
||||
when manualTest:
|
||||
echo fmt("x: {x:10.3f} exp: {exp:4d} frac: {frac:24.20f} check: {$(abs(rslt - x) < eps):-5s} {rslt: 9.3f}")
|
||||
echo %("x: {x:10.3f} exp: {exp:4d} frac: {frac:24.20f} check: {$(abs(rslt - x) < eps):-5s} {rslt: 9.3f}")
|
||||
x += step
|
||||
|
||||
when manualTest:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue