HomeSort by relevance Sort by last modified time
    Searched full:approxequal (Results 1 - 21 of 21) sorted by null

  /external/openfst/src/test/
weight-tester.h 62 // Note in the tests below we use ApproxEqual rather than == and add
72 CHECK(ApproxEqual(Plus(w1, Plus(w2, w3)), Plus(Plus(w1, w2), w3)));
73 CHECK(ApproxEqual(Times(w1, Times(w2, w3)), Times(Times(w1, w2), w3)));
89 CHECK(ApproxEqual(Plus(w1, w2), Plus(w2, w1)));
91 CHECK(ApproxEqual(Times(w1, w2), Times(w2, w1)));
108 CHECK(ApproxEqual(Times(w1, Plus(w2, w3)),
111 CHECK(ApproxEqual(Times(Plus(w1, w2), w3),
135 CHECK(ApproxEqual(p, Times(w1, d)));
143 CHECK(ApproxEqual(p, Times(d, w2)));
151 CHECK(ApproxEqual(p, Times(d, w1)))
    [all...]
algo_test.h 629 CHECK(ApproxEqual(w, w1, kTestDelta));
633 CHECK(ApproxEqual(w, w2, kTestDelta));
782 CHECK(ApproxEqual(tsum, psum, kTestDelta));
805 CHECK(ApproxEqual(nsum, dsum, kTestDelta));
    [all...]
  /art/test/003-omnibus-opcodes/src/
FloatMath.java 285 static boolean approxEqual(float a, float b, float maxDelta) {
291 static boolean approxEqual(double a, double b, double maxDelta) {
306 Main.assertTrue(approxEqual(Math.abs(ff), ff, 0.001f));
307 Main.assertTrue(approxEqual(Math.abs(-ff), ff, 0.001f));
308 Main.assertTrue(approxEqual(Math.min(ff, -5.0f), -5.0f, 0.001f));
309 Main.assertTrue(approxEqual(Math.max(ff, -5.0f), ff, 0.001f));
311 Main.assertTrue(approxEqual(Math.abs(dd), dd, 0.001));
312 Main.assertTrue(approxEqual(Math.abs(-dd), dd, 0.001));
313 Main.assertTrue(approxEqual(Math.min(dd, -5.0), -5.0, 0.001));
314 Main.assertTrue(approxEqual(Math.max(dd, -5.0), dd, 0.001))
    [all...]
  /external/openfst/src/include/fst/
equal.h 58 if (!ApproxEqual(final1, final2, delta)) {
89 } else if (!ApproxEqual(arc1.weight, arc2.weight, delta)) {
pair-weight.h 226 inline bool ApproxEqual(const PairWeight<W1, W2> &w1,
229 return ApproxEqual(w1.Value1(), w2.Value1(), delta) &&
230 ApproxEqual(w1.Value2(), w2.Value2(), delta);
sparse-power-weight.h 65 return ApproxEqual(v1, v2, delta_) ? W::One() : W::Zero();
192 inline bool ApproxEqual(const SparsePowerWeight<W, K> &w1,
randequivalent.h 101 if (!ApproxEqual(sum1, sum2, delta)) {
signed-log-weight.h 189 inline bool ApproxEqual(const SignedLogWeightTpl<T> &w1,
195 return ApproxEqual(w1.Value2(), w2.Value2(), delta);
tuple-weight.h 264 inline bool ApproxEqual(const TupleWeight<W, n> &w1,
270 ApproxEqual(w1.Value(i), w2.Value(i), delta);
shortest-path.h 229 // This forms a strict weak order so long as ApproxEqual(a, b) =>
230 // ApproxEqual(a, c) for all c s.t. less_(a, c) && less_(c, b).
232 return less_(wy, wx) || ApproxEqual(wx, wy, delta_);
234 return less_(wy, wx) && !ApproxEqual(wx, wy, delta_);
weight.h 44 // ApproxEqual: approximate equality (for inexact weights)
float-weight.h 149 inline bool ApproxEqual(const FloatWeightTpl<T> &w1,
shortest-distance.h 202 if (!ApproxEqual(nd, Plus(nd, w), delta_)) {
string-weight.h 318 inline bool ApproxEqual(const StringWeight<L, S> &w1,
  /external/fonttools/Lib/fontTools/encodings/
MacRoman.py 26 'approxequal', 'Delta', 'guillemotleft', 'guillemotright', 'ellipsis',
  /external/fonttools/Lib/fontTools/ttLib/
standardGlyphOrder.py 180 "approxequal", # 167
  /external/jmonkeyengine/engine/src/core/com/jme3/util/
TangentBinormalGenerator.java 383 private static boolean approxEqual(Vector3f u, Vector3f v) {
409 if (approxEqual(vertexInfo.position, position) &&
410 approxEqual(vertexInfo.normal, normal))
  /external/freetype/src/sfnt/
ttpost.c 121 "radical", "florin", "approxequal", "Delta", "guillemotleft",
  /external/pdfium/third_party/freetype/src/sfnt/
ttpost.c 121 "radical", "florin", "approxequal", "Delta", "guillemotleft",
  /external/pdfium/core/src/fpdfapi/fpdf_font/
fpdf_font_charset.cpp 348 "questiondown", "exclamdown", "logicalnot", "radical", "florin", "approxequal", "Delta", "guillemotleft",
438 "divide", "notequal", "equivalence", "approxequal", "ellipsis", "arrowvertex", "arrowhorizex", "carriagereturn",
    [all...]
  /external/fonttools/Lib/fontTools/
agl.py 342 2248;approxequal;ALMOST EQUAL TO

Completed in 1136 milliseconds