diff options
Diffstat (limited to 'lib/system')
-rwxr-xr-x | lib/system/sysstr.nim | 2 |
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.} = |