simple-squiggle

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

leftShift.js (316B)


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