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

12

/external/chromium-trace/trace-viewer/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_org/v8/test/mjsunit/
H A Dmath-floor-part1.js72 testFloor(0, 1.0 - Number.EPSILON);
79 testFloor(1, 1.0 + Number.EPSILON);
83 testFloor(-1, -1 + Number.EPSILON);
84 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/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/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/srec/srec/clib/
H A Djacobi.c32 #undef EPSILON macro
33 #define EPSILON 0.00000001 macro
91 if (sum < EPSILON) /* normal convergence */
115 if ((iter >= 4) && (g < EPSILON*fabs(d[i]))
116 && (g < EPSILON*fabs(d[j])))
124 if (g < EPSILON*fabs(h))
/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 )
H A DTreeToNFAConverter.g134 Transition e = new Transition( Label.EPSILON, n );
138 Transition followEdge = new Transition( Label.EPSILON, following );
245 start.addTransition(new Transition(Label.EPSILON, g.left));
259 g.right.addTransition(new Transition(Label.EPSILON,end));
373 | EPSILON {$g = factory.build_Epsilon();}
H A DANTLR.g84 EPSILON;
697 -> ^(ALT[$start,"ALT"] EPSILON[input.LT(-1),"epsilon"] EOA[input.LT(-1),"<end-of-alt>"])
926 -> {!stream_rewrite_element.hasNext()}? ^(ALT[LT(1),"ALT"] EPSILON["epsilon"] EOA["<end-of-alt>"])
930 -> ^(ALT[LT(1),"ALT"] EPSILON["epsilon"] EOA["<end-of-alt>"])
H A DLeftRecursiveRuleWalker.g259 | EPSILON
/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/chromium_org/ui/gfx/
H A Dinterpolated_transform.cc18 static const double EPSILON = 1e-6; member in namespace:__anon16870
22 return remainder < EPSILON || 90.0 - remainder < EPSILON;
/external/chromium_org/third_party/opus/src/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/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"])
/external/pixman/pixman/
H A Dpixman-matrix.c669 #define EPSILON (pixman_fixed_t) (2) macro
671 #define IS_SAME(a, b) (within_epsilon (a, b, EPSILON))
672 #define IS_ZERO(a) (within_epsilon (a, 0, EPSILON))
673 #define IS_ONE(a) (within_epsilon (a, F (1), EPSILON))
675 (within_epsilon (a, F (1), EPSILON) || \
676 within_epsilon (a, F (-1), EPSILON) || \

Completed in 1201 milliseconds

12