- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
7 lines
273 B
JavaScript
7 lines
273 B
JavaScript
var PRECISION = 0.00001; // numbers less than this is considered as 0
|
|
export default function isNumberEqual(a, b, precision) {
|
|
if (precision === void 0) { precision = PRECISION; }
|
|
return Math.abs((a - b)) < precision;
|
|
}
|
|
;
|
|
//# sourceMappingURL=is-number-equal.js.map
|