forked from Qalculate/libqalculate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
5254 lines (3443 loc) · 189 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2022-05-25 Hanna Knutsson <[email protected]>
* Fix addition of unit to expression without unit (when trying to convert to a unit) in exact mode
2022-05-18 Hanna Knutsson <[email protected]>
* Fix limit of floor(), ceil(), and trunc()
2022-05-11 Hanna Knutsson <[email protected]>
* Show single digit suffixes using Unicode subscript, in qalc
* Make names with a single character followed by digits case-sensitive with suffix by default
2022-04-28 Hanna Knutsson <[email protected]>
* Polar plot style
2022-04-27 Hanna Knutsson <[email protected]>
* plot() arguments for specification of plot options (in any order after the third argument)
2022-04-26 Hanna Knutsson <[email protected]>
* Binary-coded decimals (BCD) - input and output bases, and bcd() function
2022-04-24 Hanna Knutsson <[email protected]>
* Use capitalized names with underscores removed in output (e.g. "FineStructure" instead of "fine_structure")
* ExpressionName::formattedName() for handling of underscores (capitalization, html suffixes, removal)
* Alternative CompositeUnit::print() with formatting options
* Include names with underscores removed when searching for active objects or checking for conflicts
* Deactivate support for names without underscores for completion only names
* Fix activation of objects after object that caused deactivation is deleted
* Respect require_translation property
* Mark l_N, oz_t, lb_t, and rad_radioactivity as using prefix
2022-04-20 Jules Bertholet <[email protected]>
* Add additional information units (nat, trit, OctalDigit, hartley, nonet, declet, TiB, TB, EB, PB, petabit), and additional names to existing information units (shannon, o, etc.)
2022-04-20 Hanna Knutsson <[email protected]>
* Set normalized sinc() variant by changing default value of second (non-existing) argument to "pi", or using "set sinc 1" in qalc
* Ask the user for the desired sinc() variant (unnormalized or normalized)
* Show warning when log() is used with a single argument, and always show second argument of log()
2022-04-19 Jules Bertholet <[email protected]>
* Add traditional numbers (locale specific): dozen, BakersDozen, score, LongHundred, gross, LongThousand, GreatGross
2022-04-18 Hanna Knutsson <[email protected]>
* Option to plot real and imaginary parts separately (determined by allow_complex in plot() function and on by default in other cases)
* Look for points where plot changes direction (derivative is zero) and include in data
* Avoid extremely slow calculation of gamma for negative intervals
* Do not return interval in newtonsolve() and secantsolve() if interval arithmetic is deactivated
* Remove Cyrillic c name from KGS
2022-04-14 Hanna Knutsson <[email protected]>
* Improve plot precision for real values before and after non-real values
* Variable spacing of x values in plot
* Fix plotting of derivatives and integrals
2022-04-13 Hanna Knutsson <[email protected]>
* Update and add (m^3/s, cumecs, L/s, acre*ft/day, Sverdrup) flow units (volumetric flow rate)
* Do not ignore deactivated allow complex for fractional exponents with negative bases
2022-04-12 ioio85 <[email protected]>
* Add cfm, gpm and gph units
2022-04-10 Hanna Knutsson <[email protected]>
* Accept more than two arguments in gcd() and lcm()
* Interpret a single vector argument as a list of arguments if function requires more than one argument
2022-04-09 Hanna Knutsson <[email protected]>
* Fix randpoisson()
2022-04-02 Hanna Knutsson <[email protected]>
* Improve optimal unit selection for unit expression with corresponding composite SI unit (e.g. W/m^2)
* Add special case for conversion of units of gravitational constant to optimal unit (do not convert to Gy)
* Fix segfault when converting expression without unit in some cases (e.g. "5 to V/1")
* Make MathStructure comparison with integer more efficient
2022-03-27 Hanna Knutsson <[email protected]>
* Do not display error at all when BYN fails to update during complete exchange rates update, and mark BYN as hidden (moves it secondary menus)
* Save temporary functions and units in Calculator::saveTemporaryDefinitions()
2022-03-24 Hanna Knutsson <[email protected]>
* Fix output of (1+f(x))/n
* mHg unit (allows use with prefixes other than milli)
* Always display abbreviated unit name (symbol) with abbreviated prefix (when unit only has short name)
2022-03-23 Hanna Knutsson <[email protected]>
* Save definitions on exit (only) if definitions has changed regardless of interactive mode status
* Set variables and functions created using save() as modified
2022-03-22 Hanna Knutsson <[email protected]>
* Restrict use of reciprocal in unit conversion, e.g. invert in "5m/s to s/m" (= 0.2 s/m) but not in "500/lb to g" (= 1.1/g)
2022-03-21 Hanna Knutsson <[email protected]>
* Do not interpret dot as dot operator if preceded and followed by dots
2022-03-05 Hanna Knutsson <[email protected]>
* Show successfully updated exchange rates sources in error message when full update has partially failed
* Show title of currency in update exchange rates error message for single currency sources
2022-03-04 Hanna Knutsson <[email protected]>
* Replace *, /, and - with the corresponding operator symbol (determined by message print options) in misplaced operator error messages
* Fix error message for a*/b (and similar)
* Do not transform original expression (e.g. multiply by base unit if unit is missing), and set correct parsed expression conversion argument, during conversion to unit expression provided in to_struct argument to Calculator::calculate() (primarily relevant for conversion view in qalculate-gtk)
2022-03-01 Hanna Knutsson <[email protected]>
* Fix segfault (when compiled with -D_GLIBCXX_ASSERTIONS) with local digit grouping when separator is empty (e.g. with ignore locale)
2022-02-28 Hanna Knutsson <[email protected]>
* Use narrow non-break space instead of thin space as digit separator for reasonably short numbers and between quantity and unit (if thin space is digit grouping separator)
* Improve handling suggestsQuotes() argument property
* Do not use class="symbol" when quotation marks are used (fixes history layout errors in qalculate-gtk)
* Do not remove thin space in print_dual (as it's used in qalculate-qt)
* Add safeguards against extremely large vectors causing freezes and crashes
2022-02-21 Hanna Knutsson <[email protected]>
* Update austronomical unit value
2022-02-19 Hanna Knutsson <[email protected]>
* Fix segfault (when compiled with -D_GLIBCXX_ASSERTIONS) in matrix multiplication when one of the matrices has exacly one row
2022-02-17 Hanna Knutsson <[email protected]>
* Fix readprec (duplicate percent) in mode list, in qalc
2022-02-14 Hanna Knutsson <[email protected]>
* Move "approx." to same place as Unicode almost equal symbol with dual result
* Automatically remove superfluous default values from function expressions
* Return x = -infinity for a^x = 0
2022-02-11 Hanna Knutsson <[email protected]>
* Move "approx." to same place as Unicode almost equal symbol with dual result
* Add financial rate() function
2022-02-10 Hanna Knutsson <[email protected]>
* Fix segfault with empty sqrt inside sqrt, e.g. sqrt(1+sqrt())
2022-02-07 Hanna Knutsson <[email protected]>
* Fix incompletely calculated nounit(), e.g. in unit conversion
* Handle Unicode minus in conversion (disables mixed units)
* Fix saving of try exact single approximation mode in qalc
* Return x = -infinity for a^x = 0
2022-02-03 Hanna Knutsson <[email protected]>
* Return the lowest value if there are multiple values with equal frequency in mode()
* Calculate statistical functions (e.g. mode(), min(), max(), percentile()) separately for each column of matrix (adds special handling for handle vector property in vector arguments)
* Fix duplicated right equality value in output in some cases
2022-01-29 Hanna Knutsson <[email protected]>
* Add option to disable "simplified" percentage calculations (e.g. intepret 100 + 20% as 100 + 0.2 instead of 100 * 120%)
2022-01-24 Hanna Knutsson <[email protected]>
* Calculator::saveTemporaryDefinitions() for use in qalculate-qt when saving workspace
2022-01-21 Jakub Jirutka <[email protected]>
* Do not rewrite -Os to -O2
2022-01-19 Hanna Knutsson <[email protected]>
* Parse text argument as expression if concatenate function name is found in text string
* Fix concatenate returning date
* New layout for output of result of equations, in qalc
2022-01-15 Hanna Knutsson <[email protected]>
* Support input of functions, units, and variables with underscores omitted in names (e.g. µ0 = µ_0), with some exceptions (e.g. if underscore is followed by a single character that is not a digit or a Unicode symbol)
2022-01-13 Hanna Knutsson <[email protected]>
* Convert K, Hz, and m^-1 to J, and derived units, using conversion factor constants (e.g. 1/(550nm) to eV = 1/(550nm) * m_to_J ≈ 2.25 eV)
* Move conversion of expression without unit (e.g. 5 to ft = 5 m to ft) from user interfaces to libqalculate
* Allow use of M as 10^6 without unit
2022-01-12 Hanna Knutsson <[email protected]>
* Add hbar name (for completion) to reduced Planck constant
2022-01-12 Stephan Troyer <[email protected]>
* Add second Unicode codepoint for µ-sign in variable names
2022-01-05 Hanna Knutsson <[email protected]>
* Do not assume that char is signed
* Fix bitrot()
2022-01-02 Hanna Knutsson <[email protected]>
* Allow zero (1st and/or 2nd argument) in comb() and perm(), and return zero if second argument (k) is greater than the first (n)
2021-12-27 ioio85 <[email protected]>
* Add ksi unit
2021-12-27 Hanna Knutsson <[email protected]>
* Fix Unicode superscript followed by ^ or +/- (e.g. 5²±1)
* Interpret sin⁻¹ (with Unicode superscripts) as arcsin, and similar
2021-12-26 Hanna Knutsson <[email protected]>
* Fix segfault in multisolve() when initial order of equations is not optimal
2021-12-21 Hanna Knutsson <[email protected]>
* Add divisors() function
* Improve select() function
2021-12-17 Hanna Knutsson <[email protected]>
* Nicer formatted terminal output for matrices (in qalc)
* Replace round halfway to even and truncate options, in qalc, with rounding option
2021-12-13 Hanna Knutsson <[email protected]>
* Option to truncate (instead of round to nearest) numbers in result
2021-12-12 Hanna Knutsson <[email protected]>
* Add plastic number (ρ) constant
2021-12-10 Hanna Knutsson <[email protected]>
* Transform vector to matrix with single row and scalar to matrix with a single row and column when a matrix is expected
* Transform matrix with single row to vector, and matrix/vector with single element to scalar
* Use time limit, instead of wait for keypress with time limit (which does not work), for slow calculations in qalc on Windows
2021-12-08 Hanna Knutsson <[email protected]>
* Matlab syntax for matrices and vector (within square brackets, space and comma separates columns, semicolon separates rows)
2021-12-03 Hanna Knutsson <[email protected]>
* Do not try to use iconv if not found
2021-12-02 Hanna Knutsson <[email protected]>
* Fix MathStructure::containsType(STRUCT_UNIT, false, ?, true) for value containing data set function
2021-11-30 Hanna Knutsson <[email protected]>
* Do not stop testing functions argument values after first failure
* Handle units in plot data;
2021-11-26 Hanna Knutsson <[email protected]>
* Add name "inv" to matrix inverse function (remove reciprocal function) and add support for scalars
2021-11-25 Hanna Knutsson <[email protected]>
* Fix transformation of a*sin(x)+b*cos(x) to a*sqrt((b/a)^2+1)*sin(x+atan(b/a)) (primarily fixes some equations)
* Add representsNonMatrix() and representsScalar() to many builtin functions (do not rely on representsNumber() which might return false for unknown variables - this fixes limit() unpredictability in some cases)
* Make sorting more predictive
2021-11-24 Hanna Knutsson <[email protected]>
* Apply same logic with separate to command, as with "to" at end of expression, when result contains no unit
2021-11-20 Hanna Knutsson <[email protected]>
* Fix title of arguments > minimum argument when max arguments = -1, for builtin functions with arguments not defined in code
2021-11-18 Hanna Knutsson <[email protected]>
* Interpret || as paralell to operator for all units, add support for Unicode paralell to symbol, and move || as paralell to parsing stage
2021-11-17 Hanna Knutsson <[email protected]>
* Add clear command, with Ctrl+L shortcut
2021-11-14 Hanna Knutsson <[email protected]>
* Add Calculator::calculateAndPrint() variant with formatting arguments
* Remove "(default)" from adaptive mode in qalc
* Localize condition expression in argument description
2021-11-12 Hanna Knutsson <[email protected]>
* Add micrometer and nanometer
2021-11-08 Hanna Knutsson <[email protected]>
* Support "--" as end of options in qalc command line
2021-11-05 Hanna Knutsson <[email protected]>
* Fix pearson() and spearman()
2021-11-01 Hanna Knutsson <[email protected]>
* Avoid precision loss on output of interval when precerve_precision is true (e.g. when saving approximate variable)
2021-10-23 Hanna Knutsson <[email protected]>
* Fix display of uncompletely solved equation (equality where value on the left is not a variable) with dual approximation
* Solve x^(x^(-a))=b
* Im(-x)=-Im(x), Re(-x)=-Re(x)
2021-10-22 Hanna Knutsson <[email protected]>
* Add functions for quadratic and cubic regression (quadraticfit() and cubicfit())
* Allow nested subfunctions (use of subfunction in another subfunction)
2021-10-20 Hanna Knutsson <[email protected]>
* Configurable SIGINT (Ctrl+C) action (in interactive mode) - by default qalc will now exit, orderly, if inactive
2021-10-19 Hanna Knutsson <[email protected]>
* Add function for RAM latency calculation
* Add function for simple linear regression
* Fix genvector() when step size requires evaluation
2021-10-18 Hanna Knutsson <[email protected]>
* Fix "to unicode" in qalc
* Fix a%%-b (interpret %% as mod not percent)
* Add (Equilateral) at end of square pyramide function titles
* Add --defaults command line option to qalc
* Look global definitions in data and ../data first (if running from build directory)
* Change title of function category from "Regression" to "Correlation"
2021-10-18 Dani Biró <[email protected]>
* Unit tests
2021-10-17 Hanna Knutsson <[email protected]>
* Add vertical space option ("vspace") in qalc
2021-10-10 Hanna Knutsson <[email protected]>
* Fix parsing of percentage before space (e.g. "10 - x% = 8")
* Interpret | before most operators as absolute value instead of bitwise or
2021-10-08 Hanna Knutsson <[email protected]>
* Show input/output number base in parentheses after expression, in qalc, if the base is not decimal or indicated by the number formatting, and the base was not changed by the most recent command
2021-10-03 Hanna Knutsson <[email protected]>
* Support plot functions, in plot(), that results in a vector first when evaluated (e.g. plot(entrywise(x^y, [1, 2, 3, 4], y), -5, 5))
* Use frequency as step size, in plot(), if the argument value is not an integer > 1
2021-09-27 Hanna Knutsson <[email protected]>
* Function for drill bit size conversion
2021-09-30 Hanna Knutsson <[email protected]>
* Fix errournous simplifications in some cases when incompletely evaluated numerator and denominator are passed to merge_multiplication()
* Avoid unnecessary calculations in if() function, when first argument is vector
* Output 1/2+x/2 as (1+x)/2 and similar
2021-09-23 Hanna Knutsson <[email protected]>
* Exact values for Im((a*i)^(n/2)
* Improved simplification of radical expressions
* 1/(sqrt(a)+1)=(sqrt(a)-1)/(a-1), 1/(sqrt(a)-1)=(sqrt(a)+1)/(a-1)
* Additional exact values in tan()
2021-09-21 Hanna Knutsson <[email protected]>
* Improved exact return values for im(), re(), and arg()
* Additional exact return values in atan()
* Improved output for complex forms (primarily in exact mode)
2021-09-19 Hanna Knutsson <[email protected]>
* Improve division for non-rational polynomials
2021-08-28 Hanna Knutsson <[email protected]>
* Ask the user for correct interpretation (once) when entering expression with ambiguous implicit multiplication
* Use LOCALE_CUSTOM_UI_DEFAULT on Windows
2021-08-05 Hanna Knutsson <[email protected]>
* Fix "l" as symbol for liter in Swedish translations, and other potential undiscovered issues with reference name not properly case-sensitive
2021-07-29 Hanna Knutsson <[email protected]>
* Save answer to dot and temperature questions in non-interactive mode and do not show the questions in non-interactive terse mode
* Fix saving of sub functions with default values
2021-07-18 Hanna Knutsson <[email protected]>
* Stop parsing function after minimum number of arguments under the same conditions as after maximum number of arguments, when there are no more argument and parentheses are not used (e.g. log 64 / log 2 = log(64)/log(2))
* Stop parsing function that only takes one argument at argument separator, if parentheses are not used
2021-07-15 Hanna Knutsson <[email protected]>
* Change "assumptions" abbreviation to "asm"
* Set both type and sign if assumptions are set to "none" or zero, and set type to number for "complex"
* Convert Celsius to Fahrenheit if no calculation was performed
2021-07-14 Hanna Knutsson <[email protected]>
* Fix handling of OR and AND in multisolve()
2021-07-07 Hanna Knutsson <[email protected]>
* Fix segfault after failure to convert approximate unit (e.g. cal_fifteen)
2021-07-04 Hanna Knutsson <[email protected]>
* Add support for "a perm b" (= perm(a,b)), "a comb b" (= comb(a,b)), "a dot b" (= "a.b"), "a cross b" (= cross(a,b)), and Unicode cross product symbol
* Add Calculator::getGlobalFunction(), Calculator::getGlobalUnit(), and Calculator::getGlobalVariable(), for more efficient retrieval of objects
2021-07-03 Hanna Knutsson <[email protected]>
* Avoid use of right-to-left Unicode symbols (do not present the currency symbols for IRR and AFN to the user)
* Do not try to load data objects from global definitions dir if data set is local
2021-07-02 Hanna Knutsson <[email protected]>
* Fix norm() and magnitude()
* Add a second argument, p, to norm()
* Output abs(x) as |x|
2021-06-30 Hanna Knutsson <[email protected]>
* Add support for "^^" as XOR operator
* always check for "user" directory (regardless of compile time options), on Windows
* Output both original and factorized integer, in qalc
* Improved HTML output
2021-06-25 Hanna Knutsson <[email protected]>
* Add support for function creation in save() (e.g. func1():=\x*\y^2, or func1(\a,\b):=\a*\b^2)
* QALCULATE_USER_DIR environment variable
2021-06-21 Hanna Knutsson <[email protected]>
* Always return exact result in base() function, in exact mode
2021-05-30 Hanna Knutsson <[email protected]>
* Interpret "(10-134)±" as "(10-134)±0" instead of "(10-134)*0" (and similar)
* Add operators (".'", ".*", "./", ".^") and functions (replace multiply(), divide(), and pow()) for transpose, element-wise multiplication, division, and power
* Modify behaviour of addition with column vector, and addition of row vector to matrix
2021-05-23 Alex Henrie <[email protected]>
* Catalan translation
2021-05-23 Hanna Knutsson <[email protected]>
* Vector dot product operator (".")
2021-05-19 leveltrauma <[email protected]>
* German translation
2021-05-19 Noah <[email protected]>
* Add "BYO Gnuplot" functionality
2021-05-19 Hanna Knutsson <[email protected]>
* Integration of x^a*b^(cx^d) (when a is not an integer)
2021-05-18 Hanna Knutsson <[email protected]>
* Localize data property values
2021-05-11 Hanna Knutsson <[email protected]>
* Exact calculation of igamma() in some cases
2021-05-05 Hanna Knutsson <[email protected]>
* Make prefix names more flexible (as other objects), primarily for translations
2021-05-04 Hanna Knutsson <[email protected]>
* Fix handling of translated definitions with more than one row (primarily translated function descriptions)
2021-04-26 Hanna Knutsson <[email protected]>
* Add dot() function for vector dot product and disable dot product using multiplication operator or implicit multiplication
2021-04-25 Damir Islamov <[email protected]>
* Russian translation
2021-04-25 Hanna Knutsson <[email protected]>
* secantsolve() function for solving equations using secant method
* normdistinv() function
2021-04-20 Hanna Knutsson <[email protected]>
* Inverse of chi-square cumulative distribution
* Improve simplification of logical expressions (boolean algebra)
* Add boolean assumptions type for unknown variables
* Add nand and nor operators
* Add spelled out version of logical not operator ("not")
* Interpret bitwise operators as logical in some cases
2021-04-19 Hanna Knutsson <[email protected]>
* newtonsolve() function for solving equations using Newton's method
2021-04-17 Hanna Knutsson <[email protected]>
* Improve betainc() function and return regularized version
* Add inverse incomplete beta function (betaincinv())
* Add inverse functions for F-distribution and Student's t-distribution
* Fix cumulative t-distribution for X < 0
* Fix include_equals parameter for max and min of function arguments
2021-04-08 Hanna Knutsson <[email protected]>
* Add plural forms to translated messages
* Set ENABLE_NLS outside of gettext macros
2021-04-04 Hanna Knutsson <[email protected]>
* Add support for number suffix k (e.g. 2k = 2000)
2021-03-27 Hanna Knutsson <[email protected]>
* Add support for d(f(x))/dx syntax (equivalent to diff(f(x),x))
2021-03-25 Hanna Knutsson <[email protected]>
* Add sexagesimal variants (sexa2, sexa3, longitude, longitude2, latitude, latitude2)
2021-03-24 Hanna Knutsson <[email protected]>
* Add function for distance between GPS coordinates (geodistance)
* Loosen rules for parsing " and ' as arcminutes and arcseconds
* Do not append degrees at end of sexagesimal output
2021-03-22 Hanna Knutsson <[email protected]>
* Add support for solving equalities and inequalities with error functions (erf(), erfc(), erfi(), erfinv())
* Add cauchydist() function
2021-03-21 Hanna Knutsson <[email protected]>
* Replace tonne with small prefix, with (kilo)gram (e.g. 5 kg instead of 5 mt)
2021-03-16 Hanna Knutsson <[email protected]>
* Add erfinv() and probit() functions
2021-03-15 Hanna Knutsson <[email protected]>
* Add functions for exponential and Weibull inverse cumulative distributions (expinv() and wblinv())
* Add cumulative parameter to all statistical distribution functions
2021-03-12 Hanna Knutsson <[email protected]>
* Add incomplete beta function (betainc())
* betadist(), fdist(), and tdist() functions
2021-03-08 Hanna Knutsson <[email protected]>
* Add chisqdist(), weibulldist, and gammadist() functions
* Fix gammainc() function
2021-03-01 Hanna Knutsson <[email protected]>
* Add command() function (runs external command)
* Improve handling of expressions with log-based units
* Fix conversion to multiple units, of which one is a temperature unit, with relative temperature units activated (e.g. g/oC to g/oF)
* Improve conversion of expression with multiple units to a single unit (e.g. m/W to W)
* Fix compilation with readline version < 7
2021-02-08 Hanna Knutsson <[email protected]>
* Save handle_vector property
2021-01-28 Hanna Knutsson <[email protected]>
* Allow prefixes, with full name, without units (e.g. kilo = 10^3)
2021-01-14 Hanna Knutsson <[email protected]>
* Temperature calculation modes (absolute, relative, hybrid)
2021-01-08 Hanna Knutsson <[email protected]>
* Fix saving of local data objects (user data was deleted)
2021-01-06 Hanna Knutsson <[email protected]>
* Add daysInMonth() function
2021-01-05 Hanna Knutsson <[email protected]>
* Always place units with prefixes before other units
* Improve prefixes when expression contains both units that do and units that do not use prefixes
* Fix kWh composite unit
2021-01-04 Hanna Knutsson <[email protected]>
* Modify behaviour of percent addition when first term is percentage (e.g. 10%+50%=60% instead of 10%+50%=15%)
2020-12-25 Hanna Knutsson <[email protected]>
* Change keybinding for store command to Ctrl+A
* Apply standard terminal action for keybindings (Ctrl+A, Ctrl+E, Ctrl+F) if current input is not empty
* Ask for name if store command is used without argument
2020-12-22 Hanna Knutsson <[email protected]>
* Fix saving of local data objects
* Add Unicode symbols (not used by default) for Ångström, Kelvin, liter, and pound
2020-12-19 Hanna Knutsson <[email protected]>
* Fix set conv mixed in qalc
* Use x, y, z as function arguments if '\' is not found in function expression of qalc function command
2020-12-12 Juan Carlos Alonso <[email protected]>
* Fix BYN exchange rate url
2020-12-12 Hanna Knutsson <[email protected]>
* Fix saving to an existing variable (using save() or ":=") of a value containing the very same variable
2020-12-11 Hanna Knutsson <[email protected]>
* Chain calculation parsing mode
* RPN syntax as parsing mode
2020-12-06 Hanna Knutsson <[email protected]>
* Fix uninitialized PrintOptions::base_display and set default value to BASE_DISPLAY_NONE (fixes issues in floating point format output)
* Fix output of negative numbers with floating point format
2020-11-26 Hanna Knutsson <[email protected]>
* Make all currency codes, except CUP and KGS, case insensitive
* Make cup unit (avoid conflict with Cuban pesos) and gcd() function (avoid conflict with gigacandela) case sensitive
2020-11-21 Hanna Knutsson <[email protected]>
* Fix precision in output of expression after RPN operation in qalc
2020-11-19 Hanna Knutsson <[email protected]>
* Do not output Unicode cube root symbol (often has low legibility)
* Show cbrt(a) instead of a^(1/3) in result (when PrintOptions::halfexp_to_sqrt is true)
2020-11-18 Hanna Knutsson <[email protected]>
* Fix never ending loop with log-based unit in trigonometric function
* Use false/true instead of 0/1 for result of equality or inequality
2020-11-17 Hanna Knutsson <[email protected]>
* Fix segfault in isolate x with exponentiation factor without x in base
2020-11-16 Hanna Knutsson <[email protected]>
* Add automatic and dual approximation and fraction options to Calculator::calculateAndPrint()
2020-11-08 Hanna Knutsson <[email protected]>
* Fix segfault in Calculator::convertTimeOut(), and potentially Calculator::calculateRPN() (fixes conversion in the unit manager in qalculate-gtk)
2020-11-07 Hanna Knutsson <[email protected]>
* Do not ask before overwriting temporary variables in qalc
* Add Ctrl-R shortcut for store command in qalc
2020-11-06 Hanna Knutsson <[email protected]>
* Add "precalculate expression" argument (default false) to save() (this also changes the behaviour of ":=")
* Fix local time zone on Windows
* Fix matrix/vector multiplication when the matrix/vector is stored in an approximate variable
* Fix parsing of expression with multiple degree signs
* Support multiple equivalent custom digits, separated by semicolon (e.g. "0;aA1;bB2;cC3"), in base() function
* Phoneword digit set in base() function
2020-11-02 Hanna Knutsson <[email protected]>
* Automatic (default) and dual approximation in qalc
2020-10-30 Hanna Knutsson <[email protected]>
* Always place unit with prefix first
2020-10-29 Hanna Knutsson <[email protected]>
* Use Unicode symbols for >=, <=, and != in function argument description and function condition (in qalc and defs2doc)
2020-10-28 Hanna Knutsson <[email protected]>
* Automatic (default) and dual fractions options, in qalc, which shows simple, mixed, and/or decimal fractions depending on format and contents of expression and result
2020-10-25 Hanna Knutsson <[email protected]>
* Fix quoted degree symbol in function argument (e.g. code("°"))
2020-10-23 Hanna Knutsson <[email protected]>
* Support for different character encodings in code() function
* Fix Unicode number base (multiply with 2^32 for each position)
* Fix default separator in load() and export()
* Always perform conversion to optimal (SI) unit when the expression is a number multiplied by a unit and input equals output
2020-10-22 Hanna Knutsson <[email protected]>
* Add matrix rank (rk) and reduced row echelon form (rref) functions
* Add support for d/dx notation for derivatives, e.g. d/dx sin(x) = diff(sin(x))
2020-10-20 Hanna Knutsson <[email protected]>
* Replace variables with corresponding units (e.g. c with c_unit) in unit expressions
2020-10-18 Hanna Knutsson <[email protected]>
* Fix date/time output includes (wrong) decimals (zeroes) in some cases (e.g. with nextlunarphase())
* Improve handling of ignore comma/dot option outside of calculated expression in qalc
* Set arguments for comb() and perm() as positive integers
2020-10-16 Hanna Knutsson <[email protected]>
* Support for Unicode quotation marks
* Improved Unicode fraction handling
2020-10-15 Hanna Knutsson <[email protected]>
* Fix parsing of "°²" and similar
* Do not use degree symbol when degree unit is base in exponentiation
2020-10-09 Hanna Knutsson <[email protected]>
* Activate formatting and coloring on Windows 10 (set ENABLE_VIRTUAL_TERMINAL_PROCESSING)
* Fix press enter to continue and to abort on Windows
2020-10-02 Hanna Knutsson <[email protected]>
* Define rad as a base unit for now (fixes issues with lumen) and add special case for conversion of rad and related units to length ratios (e.g. m/m)
* Fix rates.json not installed
2020-09-30 Hanna Knutsson <[email protected]>
* Compiled definitions without GIO
* Add MC, MS, M+, M- commands and MR/MRC variable in qalc
2020-09-25 Hanna Knutsson <[email protected]>
* Improve plot (and genvector()) speed for user functions
* Fix show information for multiple matching objects in qalc
* Add yr and annus names for year unit, röntgen name for roentgen (R) unit, and rem for roentgen equivalent man
* Add Rutherford (Rd), millirem (mrem), mrem/s, and erg/g units
* Show radioactivity in rem_radioactivity as suffix (subscript)
2020-09-18 Hanna Knutsson <[email protected]>
* Allow scientific e-notation without preceding digit, e.g. E2=1E2, with warning message
2020-09-17 Hanna Knutsson <[email protected]>
* Do not save x, y, and z as user variables if global variables are not loaded
2020-09-14 Hanna Knutsson <[email protected]>
* Show information for all matching objects (if there are multiple objects with the same name) with info command
* Show information about prefixes with the info command and list prefixes with find command, "list prefixes", and --list-prefixes
* Use thin space on Windows 10
* Remove ending white-space from from expression when separating "to"-expression;
2020-09-11 Hanna Knutsson <[email protected]>
* Fix cot(pi/2), coth(pi/2*i), arccot(0), arcsch(0), and arcoth(0), and simplify inverse sec, csc, and cot
* Show currencies in parsed expression using ISO 4217 code (e.g. USD instead dollar)
* Do not use "$", "dollar", and "dollars" for USD and remove cent, if symbol for local currency is "$"
* Do not use "£" as symbol for GBP if symbol for local currency is "£"
2020-09-09 Hanna Knutsson <[email protected]>
* Use thin space on Windows 10
* Use B as abbreviation for byte instead of bel
* Show information for all matching objects (if there are multiple objects with the same name) with info command
* Show information about prefixes with the info command
* List prefixes with find command, "list prefixes", and --list-prefixes
2020-09-08 Hanna Knutsson <[email protected]>
* Use "noenhanced" Gnuplot option (fixes plot titles with exponents with more than one character)
2020-09-05 Hanna Knutsson <[email protected]>
* Fix conversion from km/L to mpg (and similar)
* Do not use variable units in conversion when units are missing from the original value
2020-09-04 Hanna Knutsson <[email protected]>
* Fix logarithmic y scale in plot
2020-08-31 Hanna Knutsson <[email protected]>
* Increase default precision in qalc to 10
2020-08-21 Hanna Knutsson <[email protected]>
* Transform vector to matrix with one column (column vector) for matrix arguments
2020-08-15 Hanna Knutsson <[email protected]>
* Treat vector as column vector for matrix multiplication (when 1st factor is a matrix and 2nd factor is a vector)
2020-08-11 Hanna Knutsson <[email protected]>
* Show information about wrong number of arguments for explicit commands (using /)
* Fix help text for info command
* Fix variable command when illegal name cannot be converted to valid name
2020-08-10 Hanna Knutsson <[email protected]>
* Add support for ohm unicode symbol and inverted ohm (for siemens)
* Add biot (Bi) name for abampere
* Add abhenry (abH) unit
* Fix display of unit with negative exponent and factor 1 (do not display as division)
* Display multiplication of non-abbreviated and abbreviated similarily
2020-08-08 Hanna Knutsson <[email protected]>
* Fix conversion to ratio
* Replace J/T with A*m^2
2020-08-07 Hanna Knutsson <[email protected]>
* Add binary prefixes zebi and yobi
* Hide composite SI units for which a specific name/symbol exist
* Do not use prefixes by default with most CGS units
* New composite units: cP, cStoke, mTorr, dyn/cm²
* Digit grouping after decimal separator (in groups of three, with standard digit grouping)
* Use middle dot for multiplication and Unicode symbols for exponents 2 and 3 in composite units when Unicode is used
2020-08-05 Hanna Knutsson <[email protected]>
* Add kph/kmph (km/h)
2020-08-03 Hanna Knutsson <[email protected]>
* Fix BYN exchange rate (was inverted)
* Fix BYR exchange rate
* Fix updating of BYN and BTC exchange rates
* Fix update date for exchange rates not from ECB
2020-08-01 Hanna Knutsson <[email protected]>
* Add arcsin, arccos, arsinh, arcosh, etc. as names for inverse trigonometric and hyperbolic functions
* Interpret sin^-1, cos^-1, etc. as inverse functions (arcsin, arccos, etc.)
* Fix parsing of negative power in function arguments without parenthesis
* Add deftorad() function
2020-07-28 Hanna Knutsson <[email protected]>
* Add Euler's totient function
2020-07-26 VicSanRoPe <?>
* Spanish translation
2020-07-24 Hanna Knutsson <[email protected]>
* Load custom exchange rates from LOCAL_DATA_DIR/custom_exchange_rates, with one "x ABC = y DEF" (e.g. "1USD=70.86RUB") on each row
2020-07-11 Hanna Knutsson <[email protected]>
* Extend man page with commands, settings, syntax, and examples sections
2020-07-06 Hanna Knutsson <[email protected]>
* Support use of right arrow (including "->") as alternative to "to" for conversion (e.g. 5m->ft)
2020-07-05 Hanna Knutsson <[email protected]>
* Only apply PrintOptions::negative_exponents to units
* Always use negative exponents instead of division when all units have negative exponents
* Use middle dot instead of multiplication x in unit expressions
* Case insensitive sorting of units, variables and functions
* Add more references in qalc to the GUI manual
2020-06-30 Hanna Knutsson <[email protected]>
* Normalize numbers with fractional exponents, e.g. sqrt(a)^-b=sqrt(a)^b/a, a^(-2/3)=a^(1/3)/a, a^(2/3)=a^(-1/3)*a, and simplify roots with rational multipliers after evaluation
* Improvements for mixed fractions
* Avoid excessive parentheses with negated powers
2020-06-23 Hanna Knutsson <[email protected]>
* Fix plus-minus sign in misplaced character/operators error messages
2020-06-08 Hanna Knutsson <[email protected]>
* Fix placement (last) of constant of definite integral
* sin(x*pi) and tan(x*pi) equals zero if x represents an integer
2020-06-05 Hanna Knutsson <[email protected]>
* Fix segfault when parsing an expression that contains a prefix with more than one letter and a unit exponent (2 or 3) without exponentiation operator, e.g. dam3
2020-06-01 Hanna Knutsson <[email protected]>
* Fix use of equals sign in qalc command line arguments (e.g. "qalc --base=16")
2020-05-30 Hanna Knutsson <[email protected]>
* Support for +, -, (, ) superscripts
* Use × (U+00D7) as default multiplication sign
2020-05-29 Hanna Knutsson <[email protected]>
* Syntax highlighting using colors in qalc
* Remove space around division in unit expression
* Enable Unicode by default
* Use Unicode superscript for units (when placed separately and negative exponents are disabled)
2020-05-28 Hanna Knutsson <[email protected]>
* Support N-Ary Summation symbol, in addition to sigma, for sum() function
2020-05-24 Hanna Knutsson <[email protected]>
* Allow multiple "to"-conversions in one expression (e.g. "5 m/s to hex to ft to h = 0xE6AF.1E*ft∕h)
* Support specification of number of bits for hexadecimal "to" conversion (4 to hex16 = 0004)
2020-05-21 Hanna Knutsson <[email protected]>
* Divide value with time units by hours if time format is used
* Fix sexagesimal, and time format, output when 3rd section is rounded to 60
* Show decimals, in 3rd section, with sexagesimal base and time format
* Improved handling of intervals for sexagesimal base and time format
2020-05-11 Hanna Knutsson <[email protected]>
* If argument 2 in replace() is vector and argument 3 is not, evaluate argument 3 and test if vector, e.g. replace(x+y+z,[x,y,z],multisolve([x+y=2,x+z=3,y+z=4],[x,y,z]))
2020-05-10 Hanna Knutsson <[email protected]>
* Show warning for ambiguous implicit expression (e.g. 6/2(1+2)) in adaptive parsing mode
* Fix use of comma as AND in "where" expression
2020-05-06 Hanna Knutsson <[email protected]>
* Option to compile definitions into binary (--enable-compiled-definitions, requires GIO)
2020-04-30 Hanna Knutsson <[email protected]>
* Tau (2pi) variable
2020-04-28 Hanna Knutsson <[email protected]>
* Interpret text after hashtag (#) in expression as comments
2020-04-24 Hanna Knutsson <[email protected]>
* Accept angle (value with angle unit or value > 1 and < 360) in nextlunarphase()
2020-04-22 Hanna Knutsson <[email protected]>
* Fix removal of default angle unit from trigonometric functions in output when factor is one
2020-04-19 Hanna Knutsson <[email protected]>
* Fix automatic conversion to Newton
* Fix display of fraction in exact decimal fraction mode when indicate repeating decimals is active (in GUI)
* Fix display of repeating decimals (do not add additional whitespace when Unicode is off)