simple-squiggle

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

bitXor.js (666B)


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