UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

22 lines (21 loc) 321 B
module.exports = { 'name': 'pow', 'category': 'Operators', 'syntax': [ 'x ^ y', 'pow(x, y)' ], 'description': 'Calculates the power of x to y, x^y.', 'examples': [ '2^3', '2*2*2', '1 + e ^ (pi * i)' ], 'seealso': [ 'multiply', 'nthRoot', 'nthRoots', 'sqrt' ] }