simple-squiggle/node_modules/mathjs/lib/cjs/expression/embeddedDocs/function/bitwise/bitNot.js

15 lines
531 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.bitNotDocs = void 0;
var bitNotDocs = {
name: 'bitNot',
category: 'Bitwise',
syntax: ['~x', 'bitNot(x)'],
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.',
examples: ['~1', '~2', 'bitNot([2, -3, 4])'],
seealso: ['bitAnd', 'bitOr', 'bitXor', 'leftShift', 'rightArithShift', 'rightLogShift']
};
exports.bitNotDocs = bitNotDocs;