mathjs
Version:
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
10 lines (9 loc) • 355 B
JavaScript
;
module.exports = {
'name': 'rightArithShift',
'category': 'Bitwise',
'syntax': ['x >> y', 'rightArithShift(x, y)'],
'description': 'Bitwise right arithmetic shift of a value x by y number of bits.',
'examples': ['8 >> 1', '4 << 1', '-12 >> 2'],
'seealso': ['bitAnd', 'bitNot', 'bitOr', 'bitXor', 'leftShift', 'rightLogShift']
};