Searched refs:EPSILON (Results 1 - 25 of 55) sorted by relevance

123

/external/chromium-trace/catapult/tracing/third_party/gl-matrix/spec/helpers/
H A Dspec-helper.js2 var EPSILON = 0.00001;
13 return Math.abs(this.actual - expected) < EPSILON;
19 if (Math.abs(this.actual[i] - expected[i]) >= EPSILON)
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DRuleClosureTransition.java49 super(Label.EPSILON, ruleStart);
H A DLabel.java45 public static final int EPSILON = -5; field in class:Label
47 public static final String EPSILON_STR = "<EPSILON>";
75 /** We have labels like EPSILON that are below 0; it's hard to
194 return label==EPSILON;
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/
H A Dcommon.js28 glMatrix.EPSILON = 0.000001;
/external/replicaisland/src/com/replica/replicaisland/
H A DUtils.java21 private static final float EPSILON = 0.0001f; field in class:Utils
24 return close(a, b, EPSILON);
/external/v8/test/mjsunit/
H A Dmath-floor-part1.js101 testFloor(0, 1.0 - Number.EPSILON);
108 testFloor(1, 1.0 + Number.EPSILON);
112 testFloor(-1, -1 + Number.EPSILON);
113 testFloor(-2, -1 - Number.EPSILON);
H A Dnumber-is.js58 assertFalse(Number.isNaN(Number.EPSILON));
86 assertFalse(Number.isInteger(Number.EPSILON));
108 assertFalse(Number.isSafeInteger(Number.EPSILON));
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DNFAFactory.java249 transitionBetweenStates(left, right, Label.EPSILON);
343 transitionBetweenStates(A.right, B.left, Label.EPSILON);
359 transitionBetweenStates(startOfAlt, set.left, Label.EPSILON);
399 transitionBetweenStates(startOfAlt, g.left, Label.EPSILON);
419 transitionBetweenStates(left, g.left, Label.EPSILON);
420 transitionBetweenStates(g.right, blockEndNFAState, Label.EPSILON);
427 transitionBetweenStates(prevAlternative, left, Label.EPSILON);
465 transitionBetweenStates(A.right, blockEndNFAState, Label.EPSILON);
467 //transitionBetweenStates(decisionState, A.left, Label.EPSILON);
468 transitionBetweenStates(decisionState, emptyAlt, Label.EPSILON);
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
H A DSimpleRealPointChecker.java38 private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
H A DSimpleScalarValueChecker.java38 private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
H A DSimpleVectorialPointChecker.java38 private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
H A DSimpleVectorialValueChecker.java38 private static final double DEFAULT_RELATIVE_THRESHOLD = 100 * MathUtils.EPSILON;
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DRateLimiterTest.java49 private static final double EPSILON = 1e-8; field in class:RateLimiterTest
128 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00
130 assertEquals(0.0, limiter.acquire(), EPSILON); // R0.00, ...which is granted immediately
131 assertEquals(0.2, limiter.acquire(), EPSILON); // R0.20
137 assertEquals(0.0, limiter.acquire(), EPSILON);
139 assertEquals(0.0, limiter.acquire(), EPSILON);
140 assertEquals(0.0, limiter.acquire(), EPSILON);
141 assertEquals(0.2, limiter.acquire(), EPSILON);
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
H A DANTLRv3Tree.g124 | ^(ALT EPSILON EOA)
195 | ^(ALT EPSILON EOA)
H A DANTLRv3.g48 EPSILON;
217 | -> ^(ALT[prevToken,"ALT"] EPSILON[prevToken,"EPSILON"] EOA["EOA"])
364 | /* empty rewrite */ -> ^(ALT["ALT"] EPSILON["EPSILON"] EOA["EOA"])
H A DDefineGrammarItemsWalker.g458 | EPSILON
603 : {grammar.buildAST()}? => ^( a=ALT ( ( rewrite_element )+ | EPSILON ) EOA )
674 : ^( ALT EPSILON EOA )
/external/v8/test/mjsunit/es6/
H A Dmath-log2-log10.js54 assertEqualsDelta(-9.643274665532873e-17, Math.log10(1-Number.EPSILON), 3e-32);
/external/fonttools/Lib/fontTools/pens/
H A DpointInsidePen.py15 EPSILON = 1e-10 variable
16 ONE_PLUS_EPSILON = 1 + EPSILON
17 ZERO_MINUS_EPSILON = 0 - EPSILON
/external/fonttools/Tools/fontTools/pens/
H A DpointInsidePen.py15 EPSILON = 1e-10 variable
16 ONE_PLUS_EPSILON = 1 + EPSILON
17 ZERO_MINUS_EPSILON = 0 - EPSILON
/external/libvorbis/lib/
H A Dlsp.c309 #define EPSILON 10e-7 macro
337 if(denom<EPSILON)denom=EPSILON;
340 if(denom>-(EPSILON))denom=-(EPSILON);
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
H A DEigenDecompositionImpl.java144 final double eps = 10 * rows * columns * MathUtils.EPSILON;
498 if (FastMath.abs(realEigenvalues[i])<=MathUtils.EPSILON*maxAbsoluteValue) {
501 if (FastMath.abs(e[i])<=MathUtils.EPSILON*maxAbsoluteValue) {
605 if (FastMath.abs(realEigenvalues[i])<MathUtils.EPSILON*maxAbsoluteValue) {
/external/libopus/celt/
H A Darch.h103 #define EPSILON 1 macro
144 #define EPSILON 1e-15f macro
H A Dvq.c212 if (!(sum > EPSILON && sum < 64))
353 opus_val32 E = EPSILON;
384 Emid = Eside = EPSILON;
/external/opencv/cvaux/src/
H A D_cvvm.h59 #define EPSILON 1.e-4 macro
60 //#define REAL_ZERO(x) ( (x) < EPSILON && (x) > -EPSILON)
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/
H A DANTLRv3.g49 EPSILON;
221 | -> ^(ALT[prevToken,"ALT"] EPSILON[prevToken,"EPSILON"] EOA["EOA"])
360 | /* empty rewrite */ -> ^(ALT["ALT"] EPSILON["EPSILON"] EOA["EOA"])

Completed in 414 milliseconds

123