simple-squiggle

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

bitOr.js (642B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.bitOrDocs = void 0;
      7 var bitOrDocs = {
      8   name: 'bitOr',
      9   category: 'Bitwise',
     10   syntax: ['x | y', 'bitOr(x, y)'],
     11   description: 'Bitwise OR operation. Performs the logical inclusive OR operation on each pair of corresponding bits of the two given values. The result in each position is 1 if the first bit is 1 or the second bit is 1 or both bits are 1, otherwise, the result is 0.',
     12   examples: ['5 | 3', 'bitOr([1, 2, 3], 4)'],
     13   seealso: ['bitAnd', 'bitNot', 'bitXor', 'leftShift', 'rightArithShift', 'rightLogShift']
     14 };
     15 exports.bitOrDocs = bitOrDocs;