MathParser.org-mXparser
MathParser.org-mXparser copied to clipboard
Need add more bitwise operators
need to add more bitwise operators The current bitwise operators are and, or and shifting but it would be more helpful if You add xor, nand, nor, xnor Or it would be more efficient if you can add a future to add custom operators
This should be easy to add - will do that in the next release.
What symbol do you propose for this missing operators? Currently available bitwise operators below:
mXparser.consolePrintHelp("bitwise");
# key word type syntax since description
- -------- ---- ------ ----- -----------
345. @~ <Bitwise Operator> @~a 4.0 Bitwise unary complement
346. @& <Bitwise Operator> a @& b 4.0 Bitwise AND
347. @^ <Bitwise Operator> a @^ b 4.0 Bitwise exclusive OR
348. @| <Bitwise Operator> a @| b 4.0 Bitwise inclusive OR
349. @<< <Bitwise Operator> a @<< b 4.0 Signed left shift
350. @>> <Bitwise Operator> a @>> b 4.0 Signed right shift