"use strict";function i(o,a=-1/0,t=1/0){return Math.min(Math.max(o,a),t)}function f(o,a){let t=o,e=0,c=a.toString(),r=c.toLowerCase().indexOf("e-");if(r>0)e=Math.abs(Math.floor(Math.log10(Math.abs(a))))+r;else{let n=c.indexOf(".");n>=0&&(e=c.length-n)}if(e>0){let n=Math.pow(10,e);t=Math.round(t*n)/n}return t}function l(o,a,t,e){a=Number(a),t=Number(t);let c=(o-(isNaN(a)?0:a))%e,r=f(Math.abs(c)*2>=e?o+Math.sign(c)*(e-Math.abs(c)):o-c,e);return isNaN(a)?!isNaN(t)&&r>t&&(r=Math.floor(f(t/e,e))*e):r<a?r=a:!isNaN(t)&&r>t&&(r=a+Math.floor(f((t-a)/e,e))*e),r=f(r,e),r}exports.$9446cca9a3875146$export$7d15b64cf5a3a4c4=i;exports.$9446cca9a3875146$export$cb6e0bb50bc19463=l;
//# sourceMappingURL=number-DHvo-MDe.cjs.js.map
