UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

13 lines (12 loc) 387 B
module.exports = { 'name': 'phi', 'category': 'Constants', 'syntax': [ 'phi' ], 'description': 'Phi is the golden ratio. Two quantities are in the golden ratio if their ratio is the same as the ratio of their sum to the larger of the two quantities. Phi is defined as `(1 + sqrt(5)) / 2` and is approximately 1.618034...', 'examples': [ 'tau' ], 'seealso': [] };