Releases: fsegaud/Hef.Math.Interpreter
Releases · fsegaud/Hef.Math.Interpreter
1.1.1
1.1.0
1.0.0
Changelog
Added
- Added binary operators
<<
,>>
,&
and|
. - Added comparison operator
!=
(with aliasne
). - Added new operators
floor
,ceil
,trunc
. - Added new operators
e
,log
,log10
. - Added aliases to existing operators
<
,<=
,>
and>=
.
Changed
- Operators priority is now from lowest (0) to highest (int.Max);
- Formula syntax: Alphanumeric operators should now be separated from operants by a blanck space or brackets (e.g.:
e2
should be writtene 2
ore(2)
).
Removed
- Removed some deprecated operation aliases (
degrad
andraddeg
). - Removed some deprecated functions related to unnamed contexts :
- Constructor
Interpreter(IInterpreterContext)
. - Function
SetContext(IInterpreterContext)
.
- Constructor
Fixed
- Operators that contain digits in their names no longer fail (e.g.:
deg2rad
). - Fixed an issue related to mixed operators (i.e.:
!
was mixed to!=
).
0.2.0-alpha
Changelog
Added
- The interpreter now handles the use of multiple contexts (identified by name).
- Some operators now accept a function-style writer (eg.
min(1, 2)
instead of `min 1 - Copies of all previously prcessed formulae are now kept in cache (optimization).
Changed
- Operations and values are now stored a tree (optimization).
Fixed
- Fixed precedence issues related to
|
and&
boolean operations.
0.1.1-alpha
Changelog
- Added new operations :
tan
,cosh
,sinh
,tanh
,acos
,asin
,atan
,deg2rad
,rad2deg
,and
,or
,&
,|
. - Added new constants :
true
,false
.
0.1.0-alpha
First alpha version.
NuGet package available at https://www.nuget.org/packages/Hef.Math.Interpreter/0.1.0-alpha.