log2.js 438 B

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