mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
18 lines
371 B
JavaScript
18 lines
371 B
JavaScript
module.exports = {
|
|
'name': 'rightArithShift',
|
|
'category': 'Bitwise',
|
|
'syntax': [
|
|
'x >> y',
|
|
'leftShift(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'
|
|
]
|
|
};
|