2018-05-02 09:51:08 +02:00

20 lines
364 B
JavaScript

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'
]
};