forked from Qalculate/libqalculate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
4737 lines (3140 loc) · 167 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
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 alebra)
* 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)
* Fix x^2=25m^2 where x>0 (was evaluated as false), and similar in exact mode
2020-04-18 Hanna Knutsson <[email protected]>
* Fix segfault with empty sin() or sinh() in equation
2020-04-14 Hanna Knutsson <[email protected]>
* Fix segfault when running qalc in non-interactive mode and gnuplot is missing (issue #184)
2020-04-13 Hanna Knutsson <[email protected]>
* Fix nextlunarphase(), for values > 0.8 and < 0.2 (issue #183)
2020-03-27 Hanna Knutsson <[email protected]>
* Fix segfault during calculation of atan(acos(x)), atan(asin(x)), and asin(atan(x)) when angle unit is deg or gra
2020-03-26 Hanna Knutsson <[email protected]>
* Fix order of prime factors
2020-03-03 Hanna Knutsson <[email protected]>
* Add persistent parameter, with default true value if qalc is started in non-interactive mode (avoids immediate closing of plot window), to plot() function
2020-02-28 Hanna Knutsson <[email protected]>
* Fix max decimals option for intervals displayed with significant digits (was used as both max and min)
2020-02-22 Hanna Knutsson <[email protected]>
* Add "Number of decimals" and "Round halfway to even" (default away from zero) arguments to round() function
2020-02-15 Hanna Knutsson <[email protected]>
* Restore A and B (case insensitive) digits in input of duodecimal number
* Use 0d as prefix for input of duodecimal numbers
* Always interpret expression as duodecimal if it contains duodecimal Unicode characters
2020-02-13 Hanna Knutsson <[email protected]>
* IEEE 754 floating point (binary) conversion - functions float(), floatBits(), floatError(), floatParts(), and floatValue(), and "to" conversion using binary16/fp16, binary32/fp32/float, binary64/fp64/double, fp80, and binary128/fp128
* Support specification of number of bits for binary "to" conversion (4 to bin16 = 0000 0000 0000 0100)
* Fix rounding with max decimals in some cases
2020-02-11 Hanna Knutsson <[email protected]>
* Fix segfault in solve() with AND and OR in solution
2020-02-01 Hanna Knutsson <[email protected]>
* Modify behavior of floor(), ceil(), trunc and round() - mark result as exact, allow approximate calculation of argument in exact mode, return interval when appropriate (e.g. floor(interval(1.5,2.5))=interval(1, 2))
* Increase input buffer length (maximum length of line) in qalc
2020-01-31 Hanna Knutsson <[email protected]>
* Write interval using significant digits in CSV file
2020-01-27 Hanna Knutsson <[email protected]>
* Fix 1kOhm||1kOhm (and similar)
2020-01-24 Hanna Knutsson <[email protected]>
* Do not include pregenerated reference documentation in source package and move documentation generation from autogen.sh to Makefile
2020-01-16 Hanna Knutsson <[email protected]>
* Fix sign of real part when multiplying complex number by infinity
2020-01-15 Hanna Knutsson <[email protected]>
* Fix segfault when simplifying sin((infinity-i)+(-infinity+i)) and similar
2020-01-11 Hanna Knutsson <[email protected]>
* Rename IdentityFunction class to avoid crash in Cantor because of conflict with Poppler library class with same name
2020-01-07 Hanna Knutsson <[email protected]>
* Fix integral of asin(x)^-2
* Fix integral of a^(b+cx)/x (where a<0)
* Fix integrate(1/(a+b*i*x^(1/3)),c,0)
2020-01-06 Hanna Knutsson <[email protected]>
* Retrieve exchange rate for BYN (Belarusian ruble) from nbrb.by
2020-01-04 Hanna Knutsson <[email protected]>
* Fix segfault when solving sqrt(x)!=-1 and similar
2019-12-30 Hanna Knutsson <[email protected]>
* (-x)^a*x^b=-(-x)^(a+b) if b is odd
* tan((2n+1)*pi/2) might be either plus or minus infinity for each n (let function fail)
2019-12-27 Hanna Knutsson <[email protected]>
* Add base units (or local currency) to expression when "to"-expression specifies unit conversion and original expression does not include any units
2019-12-20 Hanna Knutsson <[email protected]>
* Fix display of factorized 5/7234234234*x+5/9234234*y and similar (a(bx+y) where a and/or b are rational number displayed approximately)
* Fix cosh(x)^2+sinh(x)^2
2019-12-14 Hanna Knutsson <[email protected]>
* bernoulli() function (number or polynomial)
* Support second argument in zeta() for Hurwitz zeta
* Exact values in zeta() for negative integers and even integers
2019-12-11 Hanna Knutsson <[email protected]>
* Improved interval handling in besselj() and bessely(), and in gamma(), zeta(), and airy() when argument is negative
2019-12-10 Hanna Knutsson <[email protected]>
* Fix never ending loop in isolate x with interval() containing interval
* Improvements for x^(ax)=b
* Simplify output of sin(x)=a and cos(x)=a, when a=0 or a=1
2019-12-08 Hanna Knutsson <[email protected]>
* Fixes and improvements for lambertw(x)=a
* Support complex arguments with non-zero imaginary and real parts in Si(), Ci(), Shi(), and Chi()
2019-12-04 Hanna Knutsson <[email protected]>
* Split up big source files
2019-12-03 Hanna Knutsson <[email protected]>
* Support complex numbers in Ei() (and li())
* Extend supported arguments for Li()
* zeta() for all reals
2019-12-02 Hanna Knutsson <[email protected]>
* Support complex numbers in erf(), erfi(), and erfc()
* Integrals of fresnelc() and fresnels()
* Integrals of 1/sin(ax)^n and 1/cos(ax)^n where n>2
* Improved handling of angle arguments
2019-11-30 Hanna Knutsson <[email protected]>
* Imaginary error function
* Fresnel integrals S and C
* Add id property to ExpressionItem to remove the need to add a variable for each new math function to Calculator class
2019-11-29 Hanna Knutsson <[email protected]>
* Support for calculation of Lambert W for all branches and complex numbers
2019-11-27 Hanna Knutsson <[email protected]>
* Integral of a^(b*x)*c^(-d*x^2)
* Improve handling of definite integrals with abs()
* Fix definite integral for ln(abs(ax^b+c)) where and ax^b+b=0 and a*x^b is not an integer for lower or upper limit of x (0*infinity in result)
2019-11-24 Hanna Knutsson <[email protected]>
* Innumerous integration enhancements and fixes
* Fix begin temporary enable interval arithmetic without end (fixes some equations after exact mode has been disabled)
* Improve solution tests
* Use local instead of global buffer for i2s() and similar
* Include uncertainty() function when replacing function arguments and where replacements with variables
2019-11-23 Hanna Knutsson <[email protected]>
* Fix infinity^x=a (x != log(a, infinity))
* Fix interval replacement with variable in exact mode
2019-11-22 Hanna Knutsson <[email protected]>
* Fix incorrect solutions to equations not removed
2019-11-17 Hanna Knutsson <[email protected]>
* Circular mil units (cmil and kcmil/MCM)
* American wire gauge (awg) functions (area and diameter)
2019-11-16 Hanna Knutsson <[email protected]>
* Remove "using namespace std" from header files
2019-11-13 Hanna Knutsson <[email protected]>
* Fix ending zeroes and min decimals for approximate rational numbers
* Improved output of significant figures for number intervals in some cases
2019-11-11 Hanna Knutsson <[email protected]>
* Calculate uncertainty propagation, using variance formula, separately for imaginary and real numbers
* Numerous improvements/fixes for integrals
2019-11-08 Hanna Knutsson <[email protected]>
* Do not automatically recalculate expressions with answer variables when calculation/parsing mode has changed (CLI)
2019-11-06 Hanna Knutsson <[email protected]>
* sinh(i*x)=i*sin(x), cosh(i*x)=cos(x), tanh(i*x)=i*tan(x)
2019-11-05 Hanna Knutsson <[email protected]>
* Fix segfault when parsing "∠∠"
* Restrict the max number of displayed digits to 100000 when scientific notation is completely disabled
* Recognize the unicode fraction slash (interpreted as division sign)
* Only parse ' and " as foot and inch with number bases <= 16
* Check if complex tanh is continuous for definite integral
2019-11-04 Hanna Knutsson <[email protected]>
* Automatic detection of unknown variable (if corresponding argument is set to undefined or zero) in functions
* romberg() and montecarlo() functions for numerical integration
* root(x, a)*abs(x)^((a-1)/a)=x
* Use ln(abs(x)) instead of ln(x^2)/2 (in integral)
* Move integrate() variable argument from 2nd to 4th position
2019-10-31 Hanna Knutsson <[email protected]>
* Much improved numerical integration (using Romberg's method)
* integrate() argument which force numerical integration only
* Calculator::clearMessages()
2019-10-28 Hanna Knutsson <[email protected]>
* Depth of field (dof) function
2019-10-27 Hanna Knutsson <[email protected]>
* Fix numerical integration error calculation
2019-10-26 Hanna Knutsson <[email protected]>
* expondist(), binomdist(), randpoisson(), randrayleigh(), and randexp() functions
2019-10-25 Hanna Knutsson <[email protected]>
* Add argument specifying number of values in random number functions
* randnorm(), randuniform(), and normdist() functions
2019-10-24 Hanna Knutsson <[email protected]>
* Fix integral of a^(b*x^c)
2019-10-18 Hanna Knutsson <[email protected]>
* Allow angle argument in cis()
* Fix complex exponential form when default angle unit is not radians
* Complex cis form
* Complex angle/phasor notation (input and output)
2019-10-16 Hanna Knutsson <[email protected]>
* Option to use "j" as default symbol for the imaginary unit in qalc
2019-10-15 Hanna Knutsson <[email protected]>
* Fix definite integral of abs(cos(x)) and similar
* Improve integration of abs(f(x))
* Fix sgn(x) = 0
* abs(x^a) = abs(x)^a if a is real
* ln(x^2) = 2*ln(x) if x > 0;
2019-10-10 Hanna Knutsson <[email protected]>
* Bijective base-26 support (including bijective() function)
* Fix never ending loop when formatting unknowns with more than one character, in qalc
2019-10-09 Hanna Knutsson <[email protected]>
* Option to use binary prefixes by default for information units
* "b?"-syntax (unit expression prefix) for optimal binary prefix (e.g. "b?byte")
* Improvements for '?' (optimal prefix) in conversion expression
2019-10-08 Hanna Knutsson <[email protected]>
* poisson() function
* Define steradian as rad^2 (was wrongly defined as m/m instead of m^2/m^2) for improved solid angle conversion
* Add square degree as a solid angle (composite) unit
2019-10-01 Hanna Knutsson <[email protected]>
* Fixes for when narrow no-break space is local digit grouping separator
* Calculate inverse when division operation is applied to RPN stack with only one value
2019-09-17 Hanna Knutsson <[email protected]>
* Only read first value (both values were concatenated as one) from /proc/uptime
2019-08-28 Hanna Knutsson <[email protected]>
* Add kgf/cm^2 composite unit and interpret kg/cm^2 as kgf/cm^2 when converting pressure
2019-08-22 Hanna Knutsson <[email protected]>
* Allow replacement of >1 and <n terms or factors in replace(), e.g. replace(x+y+1, x+y, x*y)
* Allow function replacement in replace(), e.g. replace(sin(x), sin, cos)
2019-08-20 Hanna Knutsson <[email protected]>
* "where"-syntax (e.g. "x+y where x=1 and y=2", or alternatively "x+y/.x=1,y=2", and "x^2=4 where x>0")
2019-08-19 Hanna Knutsson <[email protected]>
* Interpet comma as vector/argument separator if decimal separator is comma but numbers contains multiple commas or comma at end, e.g. [5,2,3,x]=[5;2;3;x], and add misplaced decimal separator warning for unhandled cases
2019-08-09 Hanna Knutsson <[email protected]>
* Fix local thousands separator on Windows when localeconv()->thousands_sep is a non-Unicode character > 127 (e.g. non-breaking space, 0xA0)
2019-07-31 Hanna Knutsson <[email protected]>
* Man page
2019-07-22 Hanna Knutsson <[email protected]>
* Add Calculator::setLocalCurrency() (overrides currency specified by LC_MONETARY)
2019-07-16 Hanna Knutsson <[email protected]>
* Support both micro sign and small mu as symbol for micro prefix
* Allow translation of prefixes
* Fix English spelling of "deca"
2019-07-15 Hanna Knutsson <[email protected]>
* Treat text after '_' as suffix by default when user creates a new function, unit, or variable
* Check for duplicate names when loading imported definitions
2019-07-13 Hanna Knutsson <[email protected]>
* Add "to unicode" conversion
* Display messages generated during initial loading of definitions immediately (instead of after first calculation) in qalc
2019-07-11 Hanna Knutsson <[email protected]>
* Add support for text arguments when hiding default function values in output
* Fix italicization of symbol when function argument
2019-07-04 Hanna Knutsson <[email protected]>
* dec() function
* Fix show ending zereos for non-integer rational numbers with non-decimal radix
* Improved handling of interval arithmetics for cubic equations
2019-06-29 Hanna Knutsson <[email protected]>
* General support for bases > 36, negative bases, and non-integer bases
* Reduce length of expressions in messages (primarily when using high precision)
* Fix max decimals for small intervals with +/- display enabled
2019-06-24 Hanna Knutsson <[email protected]>
* Add support for bases > 36, negative bases, and non-integer bases, in base() function
* Remove replacements (not updated properly) for obsolete currencies
* Fix parsing of "0x80 mod 3" and similar
2019-06-11 Hanna Knutsson <[email protected]>
* dBm and dBW units
2019-05-23 Hanna Knutsson <[email protected]>
* Fix abs(x)=a for complex x
2019-05-20 Hanna Knutsson <[email protected]>
* CODATA 2018 update for physical constants
2019-05-14 Hanna Knutsson <[email protected]>
* Improved operator support for RPN syntax
* Fix "percent" interpreted as "/ cent"
* xor() => lxor(), bitxor() => xor()
2019-05-12 Hanna Knutsson <[email protected]>
* Fix segfault in findMatchingUnit()
* Fix crash with empty factorial
* Fix crashes with vectors containing empty vector ([[]]) and matrices with only one row and column
2019-05-09 Hanna Knutsson <[email protected]>
* Show binary, octal, decimal, and hexadecimal result when using qalc in programming mode
* Do not save bases and caret as xor when using qalc in programming mode
2019-05-08 Hanna Knutsson <[email protected]>
* For vector + scalar, add scalar to all components
* Round bitwise right shift downwards by default (arithmetic two's complement shift)
* Treat all non-zero values as boolean true (was positive true, non-positive false)
* bitrot() function for bit rotation
* Add signedness argument to bitcmp()
* Handle decimal shift operator steps with base < 10;
2019-05-04 Hanna Knutsson <[email protected]>
* Combine consecutive Unicode powers in one power
2019-05-03 Hanna Knutsson <[email protected]>
* Support for Unicode fractions
* Support base prefixes with input bases other than decimal
2019-05-02 Hanna Knutsson <[email protected]>
* -p BASE command line option for programming mode (same as -b "BASE BASE" -s "xor^") in qalc
* Support setting both input and output base with "base" command/option in qalc
* Do not require space between command line option and number in qalc (e.g. -b16)
* Fix seqfault with -set command line option in qalc, for some options changing expression parsing
2019-05-01 Hanna Knutsson <[email protected]>
* " mod " and " rem " operators
* Unicode support in char() and code()
2019-04-30 Hanna Knutsson <[email protected]>
* div() function (integer division)
* '%' as rem
* "//" and "\" (if followed by space, number, +, -, ! or ~) for integer division (truncated)
* RPN syntax support for bitwise operations
* Allow compatible functions, variable, and functions with input base > 10
2019-04-29 Hanna Knutsson <[email protected]>
* Support Ɔ (open O) in roman numbers
* Fixes for '|' in roman numbers
* Support compl, bitor, and bitand as alternatives to ~, | and &
2019-04-27 Hanna Knutsson <[email protected]>
* Recognize "factor" and "expand" commands at the beginning of the expression
* Change order of operations for logical and bitwise operators to better match C operator precedence
* Always show spaces around spelled out logical operators
* Bitwise XOR operator
* Add alternative unicode symbols for bitwise and, or, exclusive or and not
* Caret as XOR option in qalc
2019-04-24 Hanna Knutsson <[email protected]>
* Fix factorization with uncalculated power of number (do not factorize)
* Fix explicit mixed units conversion when automatic mixed units conversion is disabled
* Fix "set autoconversion 0" in qalc (deactivate mixed units conversion)
* Fix segfault on factorization of "167772160y^4 − 41607495680y^2 − 11748245499y − 2147483648"
2019-04-23 Hanna Knutsson <[email protected]>
* Accept date and time separated by space instead of 'T'
* Remove old SI definitions
* uptime variable
* Increase precision of "now"
* Always truncate seconds in output date and time
* Improve output of factorized result with approximately displayed values
2019-04-18 Hanna Knutsson <[email protected]>
* Improved simplification (polynomial long division) and factorization
* Allow vector of values in replace()
* Fix represents number test (should be either non-zero base OR, not AND, positive exponent)
2019-04-15 Hanna Knutsson <[email protected]>
* Fix crash when formatting 1 / ((0 × 0)(1 / 0)^2)
2019-04-14 Hanna Knutsson <[email protected]>
* Remove wide interval messages if final result is within precision
* Fix options not output for "help set" in qalc
* Rename "simplify" to "expand", to avoid confusion
2019-04-13 Hanna Knutsson <[email protected]>
* Simplify y*f(x)+z*f(x) to (y+z)*f(x)
2019-04-12 Hanna Knutsson <[email protected]>
* Support for "portable" Windows version
2019-04-11 Hanna Knutsson <[email protected]>
* Improve currency symbol placement
* Fix loading of interval arithmetic setting
* Do not display more than the significant digits with non-decimal bases for intervals
* Fix display of ending zeroes for approximate integers
* Do not show fractions for approximate values with show ending zeroes activated
* Fix display of roman numeral reciprocal
* Show no item found message when find/search command fails
* Improvements to polynomial division
* Never add minus sign to ± value (uncertainty)
2019-04-09 Hanna Knutsson <[email protected]>
* Fix potential segfault in acosh calculation
* Add general number interval order check
* acosh(0)=0.5i*pi, acosh(1)=0, and acosh(x)=acosh(-x)+i*pi when x<=-1
* atanh(x)=atanh(1/x)-0.5i*pi when x > 1
* Fix segfault in Number::square(), and possibly Number::recip() with (relatively) extremely small imaginary part
2019-04-04 Hanna Knutsson <[email protected]>
* Add optional variable value argument to diff()
* Hide optional arguments with default value in output
* Fix integrate(sinc(x),x,0,infinity) and similar (should return pi/2 instead of Si(x))
2019-04-03 Hanna Knutsson <[email protected]>
* Improve effeciency and precision, in approximate mode, of diff()
* Proper interval arithmetic for airy() with arguments >= -1
* Fix ignore locale on Windows
2019-04-01 Hanna Knutsson <[email protected]>