"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("decimal.js");function l(...e){if(!e||!e.length)return;let t=new u.Decimal(0);return e.forEach(n=>{t=t.plus(new u.Decimal(n))}),t.toNumber()}const c=l;function i(...e){if(!e||!e.length)return;let t=new u.Decimal(e[0]);for(let n=1;n<=e.length-1;n+=1)t=t.sub(new u.Decimal(e[n]));return t.toNumber()}const o=i;function r(...e){if(!e||!e.length)return;let t=new u.Decimal(1);return e.forEach(n=>{t=t.mul(new u.Decimal(n))}),t.toNumber()}const f=r;function d(...e){if(!e||!e.length)return;let t=new u.Decimal(e[0]);for(let n=1;n<=e.length-1;n+=1)t=t.div(new u.Decimal(e[n]));return t.toNumber()}exports.add=c;exports.div=d;exports.minus=o;exports.mul=r;exports.plus=l;exports.sub=i;exports.times=f;
