testing/libqalculate, testing/qalculate-gtk: upgrade to 3.22
cc @sodface Since I think these packages are supposed to be kept in sync version-wise, I decided update both in the same commit even though you're the libqalculate maintainer.
libqalculate changes:
- New functions: linearfit(), quadraticfit(), cubicfit(), ramlatency(), parallel()
- Merged inv() and inverse() functions
- Improved and extended parallel operator (|| is interpreted as parallel if units are used)
- Allow nested subfunctions
- Do not stop testing function argument values after first failure
- Solve x^(x^(-a))=b
- Improved simplification: Im(-x)=-Im(x), Re(-x)=-Re(x)
- Handle units in plot data (remove and set as y-axis label)
- Avoid precision loss on output of interval when saving approximate variable
- Unit tests
- Fix pearson() and spearman()
- Fix display of incompletely solved equation with dual approximation in some cases
- Fix genvector() when step size requires evaluation
- Fix a%%-b (interpret %% as mod, not percent)
- Fix asin(x)+bcos(x)=c
- Minor bug fixes and feature improvements
qalc changes:
- Support "--" as end of options
- New --defaults command line option
- Configurable SIGINT (Ctrl+C) action (exit orderly by default)
- Vertical space option (vspace)
- Clear command with Ctrl+L shortcut
- Apply same logic with separate to command, as with "to" at end of expression, when result contains no unit
- Fix "to unicode"
qalculate-gtk changes:
- Minor improvements and fixes in data set, function, unit, and variable edit dialogs
- Avoid division by zero in percentage calculation dialog
- Use editable combo box for data object argument in insert function dialog
- Remove associated bookmark from menu when removing history item, and select the history row on go to bookmark
- Somewhat selectable history text (single click on selected item edits cell with non-editable entry)
- Increase the number of optional custom buttons from 5 to 20
- Fix plot expression with localized decimal separator, and add as multiple functions if plot expression results in matrix
- Apply same logic with separate to command, as with "to" at end of expression, when result contains no unit