summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-12-16remove unused trunc button from programming modembkma2-695/+676
2020-12-01Remove warning about unused parameters in `ìnt main` functionrbuj3-3/+3
2020-12-01financial: Remove warnings about unused parameter 'equation'rbuj1-18/+18
2020-11-25math-buttons: Remove warnings about format not a string literalrbuj1-8/+6
2020-11-24Remove unused macrosrbuj2-5/+0
2020-11-20Show factorization in history view.mbkma1-4/+39
Show exponents in factorization.
2020-11-09Fix most conversion warnings.mbkma8-56/+53
2020-11-09Improve factorization speedmbkma2-39/+231
- implements Miller-Rabin primality test - implements Pollard's rho algorithm to find prime factors - adds mp_new_from_integer function for convenience
2020-09-04fix calulation of x^q, where 1/q is a negative integermbkma2-0/+3
2020-09-04Clear answer if editing right before itmbkma1-2/+2
2020-09-04Refresh bits panel after calculationmbkma1-0/+3
2020-08-19Correct Astronomical unit (to 149597870700 m)Thomas Nilsson1-1/+1
The IAU changed the definition back in 2012 so that 1 au == 149 597 870 700 m exactly, the BIPM then followed in recognizing this value. Ref: https://www.nature.com/news/the-astronomical-unit-gets-fixed-1.11416 (doi:10.1038/nature.2012.11416) https://www.bipm.org/utils/common/pdf/si-brochure/SI-Brochure-9.pdf (latest brochure, specifically Tableau 8)
2020-08-04mp-convert: Remove trailing spaces/tabsrbuj1-2/+2
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \;
2020-07-13Implement navigation through history stack equations using keyboardmbkma5-2/+66
2020-07-05fixes incorrect parenthesis handlingmbkma2-4/+4
reverts commit 731bdfe3591618759a44d9382b49952e781a01bd
2020-06-26add git.mk to generate .gitignoretamplan1-0/+2
2020-06-20math-history-entry: Reduce the macro scope and its argument numberrbuj1-5/+7
2020-06-16math-display: Remove unused macrorbuj1-2/+0
2020-06-16math-equation: Fix memory leakrbuj1-0/+1
2020-04-25Fix empty string return for canceling complex expressionsRolfe Power1-1/+4
2020-04-14Remove -Wshadow warningsrbuj5-13/+13
2020-04-09Use only one mp_clear statement per linerbuj5-15/+54
2020-04-08build: Remove redundant LDFLAGSrbuj1-16/+4
2020-04-08Add modular exponentiation ability and add acccording testsmbkma4-14/+87
2020-04-08test-mp-equation: Fix memory leakrbuj1-1/+4
2020-04-08parserfunc: fix memory leakrbuj1-1/+7
2020-04-07history-view: simplify code and add clear optionJohannes Unruh5-82/+84
2020-04-07math-buttons: add space character after inverse trig. functionsJohannes Unruh1-3/+3
2020-04-01math-window: show GNU MPFR and GNU MPC version in about dialogPablo Barciela1-1/+6
2020-03-28math-display.c: set bottom margin to 12 for gtk widget info_viewmbkma1-0/+1
2020-03-19clear MPNumbers before returnmbkma2-9/+26
2020-03-18add Riemann zeta function and Gauss error functionmbkma4-0/+53
2020-03-16parserfunc: fix crash when calculating nested powmbkma2-1/+13
2020-03-10Remove warnings: function declaration isn’t a prototyperbuj3-6/+6
2020-03-08unittest.c: replace tabs with spacesmbkma1-624/+624
2020-03-08Port to GNU MPFR/MPC Librarymbkma26-2929/+877
For further information please visit: https://www.mpfr.org/ http://www.multiprecision.org/mpc
2020-02-27free variablesmbkma2-4/+5
2020-02-27add history view to show recent calculations.mbkma11-6/+548
add option to enable/disable history (disabled by default). add possibility to resize mate-calc if history is enabled.
2020-02-25Read authors (updated) from mate-calc.aboutrbuj4-7/+33
2020-01-14Fix typo: 'Avogadro' instead 'Avogrado'Pablo Barciela2-2/+2
2020-01-12Update copyright to 2020raveit651-1/+1
2020-01-12fixes precedence of functions i.e. the result of -ln(1) and add according testsmbkma2-0/+34
2019-09-01The function 'mp_mask' is never usedrbuj2-19/+0
cppcheck --enable=unusedFunction . [src/mp-binary.c:165]: (style) The function 'mp_mask' is never used.
2019-07-13parserfunc: Return NULL on NOT operation overflowVictor Kareh2-2/+3
2019-07-03Remove trailing whitespacesLaurent Napias27-148/+148
2019-06-03mp-serializer: fix scientific presentation of complex numbersmbkma1-3/+5
So that z = re(z) + im(z) will be displayed with the "+" in scientific notation. In mp_serializer_to_string: DISPLAY_FORMAT_AUTOMATIC I removed the workaround for this issue, so big (or small) imaginary numbers will be displayed in scientific notation again (as against fixed notation before) automatically.
2019-05-08Avoid deprecated 'gtk_widget_get_style' and 'gtk_widget_modify_font'Wu Xiaotian1-2/+41
2019-05-08Fix FSF addressrbuj1-1/+1
Reported by translators
2019-05-07test-mp-equation: add tests for physical constantsmbkma1-2/+16
It was necessary to change the test() function as well, in order to have variable trailing_digits size. Otherwise most constants would be shown as zero. So there is a "#define test(X, Y, Z) Test(X, Y, Z, 9)". Now test() works with trailing_digits size 9, and Test() with a variable trailing_digit size.
2019-05-07mp-equation: update values from physical constants to match with tooltip ↵mbkma1-7/+7
values in math-buttons.c On branch physical_constants Your branch is up-to-date with 'origin/physical_constants'. Changes to be committed: modified: src/mp-equation.c