simple-squiggle

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

rightArithShift.js (506B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.rightArithShiftDocs = void 0;
      7 var rightArithShiftDocs = {
      8   name: 'rightArithShift',
      9   category: 'Bitwise',
     10   syntax: ['x >> y', 'rightArithShift(x, y)'],
     11   description: 'Bitwise right arithmetic shift of a value x by y number of bits.',
     12   examples: ['8 >> 1', '4 << 1', '-12 >> 2'],
     13   seealso: ['bitAnd', 'bitNot', 'bitOr', 'bitXor', 'leftShift', 'rightLogShift']
     14 };
     15 exports.rightArithShiftDocs = rightArithShiftDocs;