summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2021-06-01 22:29:53 +0200
committerGitHub <noreply@github.com>2021-06-01 22:29:53 +0200
commit63db2b19bf0787db89ce89c8861e976d44e33cbd (patch)
tree5988de083bb7fd97f5f4a1d7da2526643b6ceaff /compiler
parentba3ec7b04954a9a60adb6e1a64405f7644f799ee (diff)
downloadNim-63db2b19bf0787db89ce89c8861e976d44e33cbd.tar.gz
use dragonbox algorithm; alternative to #18008 (#18139)
* use dragonbox algorithm; alternative to #18008
* removed unsafe code
Diffstat (limited to 'compiler')
-rw-r--r--compiler/condsyms.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/condsyms.nim b/compiler/condsyms.nim
index 6a49584c8..ff0c603cb 100644
--- a/compiler/condsyms.nim
+++ b/compiler/condsyms.nim
@@ -134,3 +134,5 @@ proc initDefines*(symbols: StringTableRef) =
   defineSymbol("nimHasUnifiedTuple")
   defineSymbol("nimHasIterable")
   defineSymbol("nimHasTypeofVoid")
+
+  defineSymbol("nimHasDragonBox")