added: IEEE 754 half-to-even rounding (bankers' rounding) to the following

floating point algorithms:
         Big::Add
         Big::Sub
         Big::Mul
         Big::Div



git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@258 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2009-12-06 01:09:55 +00:00
parent 72052420dd
commit 357524ae13
2 changed files with 95 additions and 11 deletions

View File

@@ -1,7 +1,13 @@
Version 0.9.1 prerelease (2009.12.05):
Version 0.9.1 prerelease (2009.12.06):
* fixed: the parser didn't use characters for changing the base (# and &)
those characters were skipped
(this bug was introduced in 0.9.0)
* added: IEEE 754 half-to-even rounding (bankers' rounding) to the following
floating point algorithms:
Big::Add
Big::Sub
Big::Mul
Big::Div
* added: to Big::ToString() - additional rounding when conv.base_round is used
if the value is not an integer we calculate how many valid digits there are
after the comma operator (in conv.base radix) and then we skipped the rest