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

10 lines (9 loc) 331 B
"use strict"; module.exports = { 'name': 'log2', 'category': 'Arithmetic', 'syntax': ['log2(x)'], 'description': 'Calculate the 2-base of a value. This is the same as calculating `log(x, 2)`.', 'examples': ['log2(0.03125)', 'log2(16)', 'log2(16) / log2(2)', 'pow(2, 4)'], 'seealso': ['exp', 'log1p', 'log', 'log10'] };