From f31eab8536a5015e1754e10f51cf39ad50777401 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 9 Jan 2011 14:59:49 +0100 Subject: [PATCH] bugfix: floating point precision; added strutils.formatFloat --- lib/pure/httpserver.nim | 2 +- web/news.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/pure/httpserver.nim b/lib/pure/httpserver.nim index cb36ea5417..bb7f42a7a5 100755 --- a/lib/pure/httpserver.nim +++ b/lib/pure/httpserver.nim @@ -1,7 +1,7 @@ # # # Nimrod's Runtime Library -# (c) Copyright 2010 Andreas Rumpf +# (c) Copyright 2011 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. diff --git a/web/news.txt b/web/news.txt index c35c463f92..d81a4b8aab 100755 --- a/web/news.txt +++ b/web/news.txt @@ -19,6 +19,8 @@ Bugfixes - Bugfix: niminst: ``nimrod`` is not default dir for *every* project. - Bugfix: Multiple yield statements in iterators did not cause local vars to be copied. +- Bugfix: The compiler does not emit very inaccurate floating point literals + anymore. Additions @@ -34,6 +36,7 @@ Additions - Source code filters are now properly documented. - Added ``emit`` pragma for direct code generator control. - Additional operations were added to the ``complex`` module. +- Added ``strutils.formatFloat``, ``strutils.formatBiggestFloat``. 2010-10-20 Version 0.8.10 released