simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

rightArithShift.js (344B)


      1 export var rightArithShiftDocs = {
      2   name: 'rightArithShift',
      3   category: 'Bitwise',
      4   syntax: ['x >> y', 'rightArithShift(x, y)'],
      5   description: 'Bitwise right arithmetic shift of a value x by y number of bits.',
      6   examples: ['8 >> 1', '4 << 1', '-12 >> 2'],
      7   seealso: ['bitAnd', 'bitNot', 'bitOr', 'bitXor', 'leftShift', 'rightLogShift']
      8 };