diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-07-20 13:13:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 22:13:52 +0200 |
commit | cf0cf32d276002e850a87667fff62c4df12999d6 (patch) | |
tree | d35564ef08d681941158d7d457d797e9775b40eb /lib/system.nim | |
parent | a8b3e7c05919511db62f1aabd706c46316b4f7b6 (diff) | |
download | Nim-cf0cf32d276002e850a87667fff62c4df12999d6.tar.gz |
make -d:nimFpRoundtrips work consistently in vm vs rt, fix #18400, etc (#18531)
* compiler/vmhooks: add getVar to allow vmops with var params * addFloat vmops with var param * cgen now renders float32 literals in c backend using roundtrip float to string
Diffstat (limited to 'lib/system.nim')
-rw-r--r-- | lib/system.nim | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/system.nim b/lib/system.nim index e878f9f2f..1da1444d2 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -2472,9 +2472,6 @@ when defined(js) or defined(nimscript): proc addInt*(result: var string; x: int64) = result.add $x - proc addFloat*(result: var string; x: float) = - result.add $x - proc quit*(errormsg: string, errorcode = QuitFailure) {.noreturn.} = ## A shorthand for `echo(errormsg); quit(errorcode)`. when defined(nimscript) or defined(js) or (hostOS == "standalone"): |