pow.js 442 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.powDocs = void 0;
  6. var powDocs = {
  7. name: 'pow',
  8. category: 'Operators',
  9. syntax: ['x ^ y', 'pow(x, y)'],
  10. description: 'Calculates the power of x to y, x^y.',
  11. examples: ['2^3', '2*2*2', '1 + e ^ (pi * i)', 'pow([[1, 2], [4, 3]], 2)', 'pow([[1, 2], [4, 3]], -1)'],
  12. seealso: ['multiply', 'nthRoot', 'nthRoots', 'sqrt']
  13. };
  14. exports.powDocs = powDocs;