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) • 333 B
JavaScript
;
module.exports = {
'name': 'leftShift',
'category': 'Bitwise',
'syntax': ['x << y', 'leftShift(x, y)'],
'description': 'Bitwise left logical shift of a value x by y number of bits.',
'examples': ['4 << 1', '8 >> 1'],
'seealso': ['bitAnd', 'bitNot', 'bitOr', 'bitXor', 'rightArithShift', 'rightLogShift']
};