diff --git a/CHANGELOG b/CHANGELOG index 3d76a09..4fe6abf 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,8 +1,8 @@ -Version 0.9.0 prerelease (2009.11.03): - * fixed: when 'C' button was pressed, the cursor was not put in the edit window +Version 0.9.0 (2009.11.25): + * fixed: when 'C' button was pressed, the cursor was not placed in the edit window * added: Pad window - a multiline edit window * added: Checking for update dialog box - the program can check automatically for an update at startup + also the program can check automatically for an update at startup * added: there are some new buttons on the standard tab - (...) - the whole expression is surrounded by brackets (ctrl+0 short cut) - 1/(...) @@ -14,10 +14,10 @@ Version 0.9.0 prerelease (2009.11.03): - input decimal point - parameters separated by * changed: precision: - Medium - 512 mantissa, 64 exponent - Big - 1024 mantissa, 128 exponent + Medium - 512 bits mantissa, 64 bits exponent + Big - 1024 bits mantissa, 128 bits exponent - Changes from TTMath 0.9.0 prerelease relating to TTCalc: + Changes from TTMath 0.9.0 relating to TTCalc: * added: operator percentage e.g. 1000-50% = 1000-(1000*0,5) = 500 * added: function frac(x) - returns a value without the integer part @@ -25,6 +25,18 @@ Version 0.9.0 prerelease (2009.11.03): * changed: algorithms in sqrt(x) and root(x ; n) they were not too much accurate for some integers e.g. Root(16;4) returned a value very closed to 2 but not exactly 2 + * changed: added specializations to Big::ToString() when the base is equal 4, 8 or 16 + the previous version was not accurate on some last digits (after the comma operator) + consider this binary value (32 bit mantissa): + base 2: 1.1111 1111 1111 1111 1111 1111 1110 101 + previous ToString() gave: + base 4: 1.33333333333332 + base 8: 1.777777777 + base 16: 1.FFFFFF + now we have: + base 4: 1.3333333333333222 + base 8: 1.77777777724 + base 16: 1.FFFFFFEA Version 0.8.7 prerelease (2009.09.16): diff --git a/README b/README index 0287454..6475310 100644 --- a/README +++ b/README @@ -20,4 +20,4 @@ Licence: BSD (open source) Interface: English, Polish, Spanish, Danish, Chinese, Russian, Swedish Project page: http://ttcalc.sourceforge.net/ Bignum library: TTMath http://www.ttmath.org/ -Operating systems: Microsoft Windows 9x/Me/NT/2000/XP/Vista +Operating systems: Microsoft Windows 9x/Me/NT/2000/XP/Vista/7 diff --git a/help/index.html b/help/index.html index 2441d56..49a82a6 100644 --- a/help/index.html +++ b/help/index.html @@ -33,9 +33,9 @@ variables and functions.

The program possesses an easy to use interface. Calculations are performed by using binary floating point numbers with three kinds of precision, -the biggest has 864 bits for its mantissa and 128 bits for its exponent -that is about 6.70897699... * 10^51217599719369681875006054625051616609 -with 258 valid decimal digits. TTCalc independently allows to insert and +the biggest has 1024 bits for its mantissa and 128 bits for its exponent +that is about 9.80518... * 10^51217599719369681875006054625051616657 +with 306 valid decimal digits. TTCalc independently allows to insert and display values with the base (radix) from two to sixteen.

@@ -47,7 +47,7 @@ display values with the base (radix) from two to sixteen. Interface:English, Polish, Spanish, Danish, Chinese, Russian, Swedish Project page:http://ttcalc.sourceforge.net/ Bignum library:TTMath http://www.ttmath.org/ -Operating systems:Microsoft Windows 9x/Me/NT/2000/XP/Vista +Operating systems:Microsoft Windows 9x/Me/NT/2000/XP/Vista/7 diff --git a/help/tips.html b/help/tips.html index 5088ffb..d8382ca 100644 --- a/help/tips.html +++ b/help/tips.html @@ -11,8 +11,6 @@ - - @@ -35,18 +33,7 @@ then 'input' mode on the 'display' tab is ignored.
  • You can calculate more than one formula at the same time. To achive this use a semicolon -in the global space, for example type '2+4 ; 5*10' and the result will be '6   50'. -
  • - -
  • -You can use CTRL+C to copy the result from the output edit into the clipboard -(if a control which has a focus is not an edit control, or if it is an edit but -has no selection) -
  • - -
  • -Also you can use CTRL+V to paste a text from the clipboard into the input control -(if a control which has a focus is not an edit control) +in the global space, for example type '2+4 ; 5*10' and the result will be '6 ; 50'.
  • diff --git a/help/values_and_std_operators.html b/help/values_and_std_operators.html index 753c1b0..fb9bbf1 100644 --- a/help/values_and_std_operators.html +++ b/help/values_and_std_operators.html @@ -3,16 +3,14 @@ - TTCalc - numbers, standard operators and built-in variables + TTCalc - standard operators and built-in variables - - - + @@ -25,39 +23,34 @@ -

    Numbers

    - -

    -You can type numbers directly using your keyboard or insert them by a mouse. This is a simple edit window, -you can use arrow keys etc. and copy&paste text by using standard shortcuts such as CTRL+C and CTRL+V. -Decimal point can be either a comma or a dot that means 1,234 is the same as 1.234. -

    -

    Standard operators

    +
    %
    +
    Percentage from a previous value: 1000-30% = 700
    +
    ^
    -
    Powering, e.g.: 2^3=8
    +
    Powering: 2^3 = 8
    *
    -
    Multiplication, e.g.: 2*3=6
    +
    Multiplication: 2*3 = 6
    /
    -
    Division, e.g.: 2/3 = 0.6666...
    +
    Division: 2/3 = 0.6666...
    +
    -
    Addition, e.g.: 2+3=5
    -Unary plus, e.g.: +2
    +
    Addition: 2+3 = 5
    +Unary plus: +2
    -
    -
    Subtraction, e.g.: 2-3=-1
    -Unary minus, e.g.: -2
    +
    Subtraction: 2-3 = -1
    +Unary minus: -2
    #
    -
    Operator for changing the base (radix) to 16 (hex), e.g.: #ff=255
    +
    Operator for changing the base (radix) to 16 (hex): #ff = 255
    &
    -
    Operator for changing the base (radix) to 2 (bin), e.g.: -&110=-6
    +
    Operator for changing the base (radix) to 2 (bin): -&110 = -6
    diff --git a/src/compileconfig.h b/src/compileconfig.h index 189e0c5..2411169 100644 --- a/src/compileconfig.h +++ b/src/compileconfig.h @@ -56,7 +56,7 @@ #define TTCALC_MAJOR_VER 0 #define TTCALC_MINOR_VER 9 #define TTCALC_REVISION_VER 0 -#define TTCALC_PRERELEASE_VER 1 +#define TTCALC_PRERELEASE_VER 0 diff --git a/src/programresources.cpp b/src/programresources.cpp index 1b8a79b..bbbe222 100644 --- a/src/programresources.cpp +++ b/src/programresources.cpp @@ -671,7 +671,7 @@ ProgramResources::ProgramResources() angle_deg_rad_grad = 1; // rad is default grouping = 0; - input_decimal_point = 2; // dot or comma + input_decimal_point = 0; // dot or comma param_sep = 0; variables_id = 0; diff --git a/src/ttcalc_update.ini b/src/ttcalc_update.ini index 418e832..f1c2be1 100644 --- a/src/ttcalc_update.ini +++ b/src/ttcalc_update.ini @@ -1,17 +1,17 @@ # this file is downloaded from a webserver during checking for an update [normal] -url = http://downloads.sourceforge.net/project/ttcalc/ttcalc/ttcalc-0.8.7/ttcalc-0.8.7-setup.exe?use_mirror=dfn -filename = ttcalc-0.8.7-setup.exe -version.major = 9 +url = http://downloads.sourceforge.net/project/ttcalc/ttcalc/ttcalc-0.9.0/ttcalc-0.9.0-setup.exe?use_mirror=dfn +filename = ttcalc-0.9.0-setup.exe +version.major = 0 version.minor = 9 version.revision = 0 version.prerelease = 0 [portable] -url = http://downloads.sourceforge.net/project/ttcalc/ttcalc/ttcalc-0.8.7/ttcalc-portable-0.8.7-bin.tar.gz?use_mirror=dfn -filename = ttcalc-portable-0.8.7-bin.tar -version.major = 9 +url = http://downloads.sourceforge.net/project/ttcalc/ttcalc/ttcalc-0.9.0/ttcalc-portable-0.9.0-bin.tar.gz?use_mirror=dfn +filename = ttcalc-portable-0.9.0-bin.tar.gz +version.major = 0 version.minor = 9 version.revision = 0 version.prerelease = 0