summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-01-15 23:57:19 +0100
committerAraq <rumpf_a@web.de>2011-01-15 23:57:19 +0100
commitfa111b9067f92107865d4496affcfc0518b7c493 (patch)
tree884a93f96c8229c83ef34dd101742314e01eb887 /lib/system
parent25d41f2f9a36028f0859c64824d1bc23a9480784 (diff)
downloadNim-fa111b9067f92107865d4496affcfc0518b7c493.tar.gz
cleanup: E_Base should not be used for inheriting exceptions; documentation generator generates dependencies section
Diffstat (limited to 'lib/system')
-rwxr-xr-xlib/system/sysstr.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/sysstr.nim b/lib/system/sysstr.nim
index 41efdf431..6c5435724 100755
--- a/lib/system/sysstr.nim
+++ b/lib/system/sysstr.nim
@@ -244,7 +244,7 @@ proc nimIntToStr(x: int): string {.compilerRtl.} =
 
 proc nimFloatToStr(x: float): string {.compilerproc.} =
   var buf: array [0..59, char]
-  c_sprintf(buf, "%#g", x)
+  c_sprintf(buf, "%#.16e", x)
   return $buf
 
 proc nimInt64ToStr(x: int64): string {.compilerRtl.} =