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

8 lines 294 B
export var piDocs = { name: 'pi', category: 'Constants', syntax: ['pi'], description: 'The number pi is a mathematical constant that is the ratio of a circle\'s circumference to its diameter, and is approximately equal to 3.14159', examples: ['pi', 'sin(pi/2)'], seealso: ['tau'] };