simple-squiggle

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

bitNot.js (531B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.bitNotDocs = void 0;
      7 var bitNotDocs = {
      8   name: 'bitNot',
      9   category: 'Bitwise',
     10   syntax: ['~x', 'bitNot(x)'],
     11   description: 'Bitwise NOT operation. Performs a logical negation on each bit of the given value. Bits that are 0 become 1, and those that are 1 become 0.',
     12   examples: ['~1', '~2', 'bitNot([2, -3, 4])'],
     13   seealso: ['bitAnd', 'bitOr', 'bitXor', 'leftShift', 'rightArithShift', 'rightLogShift']
     14 };
     15 exports.bitNotDocs = bitNotDocs;