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
17 lines (16 loc) • 350 B
JavaScript
export const leftShiftDocs = {
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'
]
}