1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.isApproximatelyTheSame = void 0;
|
4 | const FLOATING_POINT_ERROR_THRESHOLD = 0.00001;
|
5 | const isApproximatelyTheSame = (num1, num2) => {
|
6 | return Math.abs(num1 - num2) < FLOATING_POINT_ERROR_THRESHOLD;
|
7 | };
|
8 | exports.isApproximatelyTheSame = isApproximatelyTheSame;
|
9 | //# sourceMappingURL=is-approximately-the-same.js.map |
\ | No newline at end of file |