Searched refs:EPSILON (Results 1 – 5 of 5) sorted by relevance
7 export const EPSILON = Math.pow(10, -5); constant35 t.expect(Math.abs(originalValue - obtainedValue)).toBeLessThan(EPSILON);50 t.expect(Math.abs(0 - obtainedValue)).toBeLessThan(EPSILON);66 t.expect(Math.abs(1 - obtainedValue)).toBeLessThan(EPSILON);113 t.expect(Math.abs(originalValue - obtainedValue)).toBeLessThan(EPSILON);128 t.expect(Math.abs(0 - obtainedValue)).toBeLessThan(EPSILON);144 t.expect(Math.abs(1 - obtainedValue)).toBeLessThan(EPSILON);186 t.expect(Math.abs(obtainedValue - systemValue)).toBeLessThan(EPSILON);202 t.expect(Math.abs(obtainedValue - appValue)).toBeLessThan(EPSILON);
245 private static final double EPSILON = .00001d; field in VirtualViewManager248 return !Double.isNaN(d) && Math.abs(d) < EPSILON; in isZero()
251 private static final double EPSILON = .00001d; field in VirtualViewManager254 return !Double.isNaN(d) && Math.abs(d) < EPSILON; in isZero()