first commit

This commit is contained in:
2024-11-10 21:08:49 +01:00
commit 0d932ce5ee
14455 changed files with 2567501 additions and 0 deletions

View File

@@ -0,0 +1 @@
function round(a,e,r){var _,c,s;if(e|=0,c=(a*=e=Math.pow(10,e))%1==.5*(s=0<a|-(a<0)),_=Math.floor(a),c)switch(r){case"2":case"PHP_ROUND_HALF_DOWN":a=_+(s<0);break;case"3":case"PHP_ROUND_HALF_EVEN":a=_+_%2*s;break;case"4":case"PHP_ROUND_HALF_ODD":a=_+!(_%2);break;default:a=_+(0<s)}return(c?a:Math.round(a))/e}