0
0
GGGiovanny Gongora
Checks if two numbers are approximately equal to each other.
const approximatelyEqual = (v1: number, v2: number, epsilon = 0.001) =>
Math.abs(v1 - v2) < epsilon;
0
0
GGGiovanny Gongora
Checks if two numbers are approximately equal to each other.
const approximatelyEqual = (v1: number, v2: number, epsilon = 0.001) =>
Math.abs(v1 - v2) < epsilon;