mathjs 10.1.0 → 10.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/HISTORY.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # History
2
2
 
3
+ # 2022-02-02, version 10.1.1
4
+
5
+ - Improvements and fixes in function `simplify`, thanks @gwhitney:
6
+ - Fix #2393: regression bug in `simplify('2-(x+1)')`.
7
+ - Ad option `consoleDebug` to `simplify` to see what is going on.
8
+ - Fix TypeScript definition of `ConfigOptions`, which was missing option
9
+ `predictable`.
10
+
11
+
3
12
  # 2022-01-15, version 10.1.0
4
13
 
5
14
  - Implemented function `invmod`, see #2368, #1744. Thanks @thetazero.
@@ -37,11 +37,14 @@ For more details on the theory, see:
37
37
  - [Symbolic computation - Simplification (Wikipedia)](https://en.wikipedia.org/wiki/Symbolic_computation#Simplification)
38
38
 
39
39
  An optional `options` argument can be passed as last argument of `simplify`.
40
- There is currently one option available:
41
- - `exactFractions`: a boolean which is `true` by default.
42
- - `fractionsLimit`: when `exactFractions` is true, a fraction will be returned
43
- only when both numerator and denominator are smaller than `fractionsLimit`.
44
- Default value is 10000.
40
+ Currently available options (defaults in parentheses):
41
+ - `consoleDebug` (false): whether to write the expression being simplified
42
+ and any changes to it, along with the rule responsible, to console
43
+ - `exactFractions` (true): whether to try to convert all constants to
44
+ exact rational numbers.
45
+ - `fractionsLimit` (10000): when `exactFractions` is true, constants will
46
+ be expressed as fractions only when both numerator and denominator
47
+ are smaller than `fractionsLimit`.
45
48
 
46
49
 
47
50
  ## Syntax