pow.js 316 B

12345678
  1. export var powDocs = {
  2. name: 'pow',
  3. category: 'Operators',
  4. syntax: ['x ^ y', 'pow(x, y)'],
  5. description: 'Calculates the power of x to y, x^y.',
  6. examples: ['2^3', '2*2*2', '1 + e ^ (pi * i)', 'pow([[1, 2], [4, 3]], 2)', 'pow([[1, 2], [4, 3]], -1)'],
  7. seealso: ['multiply', 'nthRoot', 'nthRoots', 'sqrt']
  8. };