simple-squiggle

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

fix.js (308B)


      1 export var fixDocs = {
      2   name: 'fix',
      3   category: 'Arithmetic',
      4   syntax: ['fix(x)'],
      5   description: 'Round a value towards zero. If x is complex, both real and imaginary part are rounded towards zero.',
      6   examples: ['fix(3.2)', 'fix(3.8)', 'fix(-4.2)', 'fix(-4.8)'],
      7   seealso: ['ceil', 'floor', 'round']
      8 };