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
10 lines (9 loc) • 328 B
JavaScript
;
module.exports = {
'name': 'sqrt',
'category': 'Arithmetic',
'syntax': ['sqrt(x)'],
'description': 'Compute the square root value. If x = y * y, then y is the square root of x.',
'examples': ['sqrt(25)', '5 * 5', 'sqrt(-1)'],
'seealso': ['square', 'sqrtm', 'multiply', 'nthRoot', 'nthRoots', 'pow']
};