summary refs log tree commit diff stats
path: root/lib/system/formatfloat.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2021-07-16 18:29:49 +0200
committerGitHub <noreply@github.com>2021-07-16 18:29:49 +0200
commit25efb5386293540b0542833625d3fb6e22f3cfbc (patch)
tree25ca5aacad698f049871fab78c42d2add3fcf2c0 /lib/system/formatfloat.nim
parent96a7f9b31c84f14906b201d5e3b17c93d3878af6 (diff)
downloadNim-25efb5386293540b0542833625d3fb6e22f3cfbc.tar.gz
make dragonbox opt-in via -d:nimFpRoundtrips (#18504)
* make dragonbox opt-in via -d:nimFpRoundtrips

* make tests green again

* make tests green again
Diffstat (limited to 'lib/system/formatfloat.nim')
-rw-r--r--lib/system/formatfloat.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/formatfloat.nim b/lib/system/formatfloat.nim
index 41bc56adc..772f0a848 100644
--- a/lib/system/formatfloat.nim
+++ b/lib/system/formatfloat.nim
@@ -7,7 +7,7 @@
 #    distribution, for details about the copyright.
 #
 
-when not defined(nimLegacyAddFloat) and not defined(nimscript) and
+when defined(nimFpRoundtrips) and not defined(nimscript) and
     not defined(js) and defined(nimHasDragonBox):
   import dragonbox