changed: version of the program: 0.9.1 now

git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@288 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2010-02-07 19:02:11 +00:00
parent c3a35102a3
commit 9e25a7bc7a
7 changed files with 26 additions and 33 deletions

View File

@ -1,30 +1,22 @@
Version 0.9.1 prerelease (2009.01.05): Version 0.9.1 (2009.02.07):
* fixed: the pad window didn't take into account following options (from display tab): * fixed: the pad window didn't take into account following options (from display tab):
grouping, input commas and parameter separators grouping, input commas and parameter separators
* updated: chinese translation * updated: Chinese translation
Changes from TTMath 0.9.1 prerelease relating to TTCalc: Changes from TTMath 0.9.1 relating to TTCalc:
* fixed: the parser didn't use characters for changing the base (# and &) * fixed: the parser didn't use characters for changing the base (# and &)
those characters were skipped those characters were skipped
(this bug was introduced in 0.9.0) (this bug was introduced in 0.9.0)
* added: to Big::ToString() - additional rounding when conv.base_round is used * fixed: added in the parser: operator's associativity
if the value is not an integer we calculate how many valid digits there are operator ^ (powering) is right-associative:
after the comma operator (in conv.base radix) and then we skipped the rest sample: 2^3^4 is equal 2^(3^4) and it is: 2.41e+24
digits, after skipping the base-rounding is made previously was: 2^3^4 = (2^3)^4 = 4096
this helps to print values which have some last clear bits in the mantissa * changed: in Big::ToString() the base rounding is made only if the result value
consider this 32 bit value: would not be an integer, e.g. if the value is 1.999999999999 then
(binary)0.00011100001010001111010111000000000 the base rounding will not be done - because as the result would be 2
which has mantissa equal: (binary)11100001010001111010111000000000 (32 bits) * added: IEEE 754 half-to-even rounding (bankers' rounding) to the following
previous the ToString() method gave: (decimal)0.10999999[...] floating point algorithms: Big::Add, Big::Sub, Big::Mul, Big::Div
now we have: (decimal)0.11
* added: Parser::SetSmallToZero(bool zero) (default true)
if true then the parser changes small values into zero
small value means:
- if the mantissa of the value consists only of one, two or three set bits
- and these bits are next to each other
- and the exponent is smaller than about 2 times the number of bits from the mantissa
this helps to correctly calculate expressions such as: "0.80-3*0.34+0.22"
now the parser gives zero (previous there was a value very closed to zero)
Version 0.9.0 (2009.11.25): Version 0.9.0 (2009.11.25):
* fixed: when 'C' button was pressed, the cursor was not placed in the edit window * fixed: when 'C' button was pressed, the cursor was not placed in the edit window

View File

@ -1,4 +1,4 @@
Copyright (c) 2006-2009, Tomasz Sowa Copyright (c) 2006-2010, Tomasz Sowa
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without

View File

@ -91,6 +91,7 @@
<li><a href="rounding_functions.html">round(x)</a></li> <li><a href="rounding_functions.html">round(x)</a></li>
<li><a href="rounding_functions.html">ceil(x)</a></li> <li><a href="rounding_functions.html">ceil(x)</a></li>
<li><a href="rounding_functions.html">floor(x)</a></li> <li><a href="rounding_functions.html">floor(x)</a></li>
<li><a href="rounding_functions.html">frac(x)</a></li>
</ul> </ul>

View File

@ -1,4 +1,4 @@
Copyright (c) 2006-2009, Tomasz Sowa Copyright (c) 2006-2010, Tomasz Sowa
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without

View File

@ -3,8 +3,8 @@
[Setup] [Setup]
AppName=TTCalc AppName=TTCalc
AppVerName=TTCalc 0.9.0 AppVerName=TTCalc 0.9.1
AppVersion=0.9.0 AppVersion=0.9.1
AppPublisher=Tomasz Sowa AppPublisher=Tomasz Sowa
AppPublisherURL=http://ttcalc.sourceforge.net AppPublisherURL=http://ttcalc.sourceforge.net
AppSupportURL=http://ttcalc.sourceforge.net AppSupportURL=http://ttcalc.sourceforge.net

View File

@ -5,7 +5,7 @@
*/ */
/* /*
* Copyright (c) 2006-2009, Tomasz Sowa * Copyright (c) 2006-2010, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -56,7 +56,7 @@
#define TTCALC_MAJOR_VER 0 #define TTCALC_MAJOR_VER 0
#define TTCALC_MINOR_VER 9 #define TTCALC_MINOR_VER 9
#define TTCALC_REVISION_VER 1 #define TTCALC_REVISION_VER 1
#define TTCALC_PRERELEASE_VER 1 #define TTCALC_PRERELEASE_VER 0

View File

@ -1,19 +1,19 @@
# this file is downloaded from a webserver during checking for an update # this file is downloaded from a webserver during checking for an update
[normal] [normal]
url = http://downloads.sourceforge.net/project/ttcalc/ttcalc/ttcalc-0.9.0/ttcalc-0.9.0-setup.exe?use_mirror=dfn url = http://downloads.sourceforge.net/project/ttcalc/ttcalc/ttcalc-0.9.1/ttcalc-0.9.1-setup.exe?use_mirror=dfn
filename = ttcalc-0.9.0-setup.exe filename = ttcalc-0.9.1-setup.exe
version.major = 0 version.major = 0
version.minor = 9 version.minor = 9
version.revision = 0 version.revision = 1
version.prerelease = 0 version.prerelease = 0
[portable] [portable]
url = http://downloads.sourceforge.net/project/ttcalc/ttcalc/ttcalc-0.9.0/ttcalc-portable-0.9.0-bin.tar.gz?use_mirror=dfn url = http://downloads.sourceforge.net/project/ttcalc/ttcalc/ttcalc-0.9.1/ttcalc-portable-0.9.1-bin.tar.gz?use_mirror=dfn
filename = ttcalc-portable-0.9.0-bin.tar.gz filename = ttcalc-portable-0.9.1-bin.tar.gz
version.major = 0 version.major = 0
version.minor = 9 version.minor = 9
version.revision = 0 version.revision = 1
version.prerelease = 0 version.prerelease = 0