simple-squiggle

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

pow.js (385B)


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