mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
17 lines
351 B
JavaScript
17 lines
351 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'
|
|
]
|
|
};
|