mirror of
https://github.com/ArashPartow/exprtk.git
synced 2025-06-12 16:27:23 +00:00
C++ Mathematical Expression Library (ExprTk) http://www.partow.net/programming/exprtk/index.html
This commit is contained in:
18
readme.txt
18
readme.txt
@ -51,17 +51,18 @@ and the ability to evaluate strings within expressions.
|
||||
(1) exprtk_disable_string_capabilities
|
||||
(2) exprtk_disable_cardinal_pow_optimisation
|
||||
(3) exprtk_disable_extended_optimisations
|
||||
(4) exprtk_disable_extended_operator_optimizations
|
||||
|
||||
(1) "exprtk_disable_string_capabilities"
|
||||
If defined, the macro will disable all string processing capabilities.
|
||||
When defined, if an expression containing a string or string related
|
||||
action is encountered, a compilation error will be raised by the
|
||||
action is encountered, a compilation error will be raised by the
|
||||
parser.
|
||||
|
||||
(2) "exprtk_disable_cardinal_pow_optimisation"
|
||||
If defined, the macro will disable the special case regarding
|
||||
exponentiation of a variable to an integer constant (where the
|
||||
constant is <= 25). Defining this variable may be desirable if the
|
||||
constant is <= 60). Defining this variable may be desirable if the
|
||||
error magnitude of the results using this special case are intolerable
|
||||
with regards to the precision required. When defined, the pow function
|
||||
used for all other powers will be invoked.
|
||||
@ -77,6 +78,19 @@ also be noted that some of the third tier optimisations are also
|
||||
available through the predefined 'special functions', however these
|
||||
require that expressions utilize them explicitly.
|
||||
|
||||
(4) "exprtk_disable_extended_operator_optimizations"
|
||||
By default most of the mathematical operators are included as part of
|
||||
the optimisation process. However if this macro is defined, then only
|
||||
the basic mathematical operators (+,-,*,/,^) will be included.
|
||||
|
||||
(5) "exprtk_lean_and_mean"
|
||||
The default mode of ExprTk is lean and mean. This macro encompasses
|
||||
both modes [3] and [4].
|
||||
|
||||
(6) "exprtk_lean_and_mean_numeric_only"
|
||||
The mode when this macro is defined, is 'lean and mean' coupled with
|
||||
all string capabilities disabled [1].
|
||||
|
||||
|
||||
[FILES]
|
||||
(00) Makefile
|
||||
|
Reference in New Issue
Block a user