File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 22import mathjs from "mathjs" ;
33import _ from "underscore" ;
44
5- import { tolerance as TOLERANCE } from "./constants" ;
5+ import { tolerance as TOLERANCE } from "./constants" ;
66
77/**
88 * This module is intended to be used instead of the original mathjs package, hence we need to reexport all original functions and all TS types.
@@ -32,7 +32,6 @@ export type Help = mathjs.Help;
3232export type MathJsChain = mathjs . MathJsChain ;
3333export type MathJsJson = mathjs . MathJsJson ;
3434
35-
3635/**
3736 * @summary Zero threshold. Numbers below it are put to zero exactly.
3837 * Used to avoid math.js bug in treating zero as X.XXe-16.
@@ -217,7 +216,6 @@ const roundValueToNDecimals = (value: number, decimals = 3) => {
217216 return parseFloat ( value . toFixed ( decimals ) ) ;
218217} ;
219218
220-
221219// See: https://en.wikipedia.org/wiki/Rounding
222220export enum RoundingMethod {
223221 Bankers = "bankers" ,
You can’t perform that action at this time.
0 commit comments