simple-squiggle

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

fix.js (434B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.fixDocs = void 0;
      7 var fixDocs = {
      8   name: 'fix',
      9   category: 'Arithmetic',
     10   syntax: ['fix(x)'],
     11   description: 'Round a value towards zero. If x is complex, both real and imaginary part are rounded towards zero.',
     12   examples: ['fix(3.2)', 'fix(3.8)', 'fix(-4.2)', 'fix(-4.8)'],
     13   seealso: ['ceil', 'floor', 'round']
     14 };
     15 exports.fixDocs = fixDocs;