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) • 338 B
JavaScript
;
module.exports = {
'name': 'log1p',
'category': 'Arithmetic',
'syntax': ['log1p(x)', 'log1p(x, base)'],
'description': 'Calculate the logarithm of a `value+1`',
'examples': ['log1p(2.5)', 'exp(log1p(1.4))', 'pow(10, 4)', 'log1p(9999, 10)', 'log1p(9999) / log(10)'],
'seealso': ['exp', 'log', 'log2', 'log10']
};