log2.js (438B)
1 "use strict"; 2 3 Object.defineProperty(exports, "__esModule", { 4 value: true 5 }); 6 exports.log2Docs = void 0; 7 var log2Docs = { 8 name: 'log2', 9 category: 'Arithmetic', 10 syntax: ['log2(x)'], 11 description: 'Calculate the 2-base of a value. This is the same as calculating `log(x, 2)`.', 12 examples: ['log2(0.03125)', 'log2(16)', 'log2(16) / log2(2)', 'pow(2, 4)'], 13 seealso: ['exp', 'log1p', 'log', 'log10'] 14 }; 15 exports.log2Docs = log2Docs;