simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

log2.js (309B)


      1 export var log2Docs = {
      2   name: 'log2',
      3   category: 'Arithmetic',
      4   syntax: ['log2(x)'],
      5   description: 'Calculate the 2-base of a value. This is the same as calculating `log(x, 2)`.',
      6   examples: ['log2(0.03125)', 'log2(16)', 'log2(16) / log2(2)', 'pow(2, 4)'],
      7   seealso: ['exp', 'log1p', 'log', 'log10']
      8 };