simple-squiggle

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

bitXor.js (531B)


      1 export var bitXorDocs = {
      2   name: 'bitXor',
      3   category: 'Bitwise',
      4   syntax: ['bitXor(x, y)'],
      5   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.',
      6   examples: ['bitOr(1, 2)', 'bitXor([2, 3, 4], 4)'],
      7   seealso: ['bitAnd', 'bitNot', 'bitOr', 'leftShift', 'rightArithShift', 'rightLogShift']
      8 };