Home
last modified time | relevance | path

Searched refs:FLT_EPSILON (Results 1 – 25 of 48) sorted by relevance

12

/external/jmonkeyengine/engine/src/core/com/jme3/math/
DRay.java216 if (dirDotNorm > FastMath.FLT_EPSILON) { in intersects()
218 } else if (dirDotNorm < -FastMath.FLT_EPSILON) { in intersects()
291 if (dirDotNorm > FastMath.FLT_EPSILON) { in intersects()
293 } else if (dirDotNorm < -FastMath.FLT_EPSILON) { in intersects()
371 if (denominator > -FastMath.FLT_EPSILON && denominator < FastMath.FLT_EPSILON) { in intersectsWherePlane()
377 if (ratio < FastMath.FLT_EPSILON) { in intersectsWherePlane()
DPlane.java203 if (dist < FastMath.FLT_EPSILON && dist > -FastMath.FLT_EPSILON) in isOnPlane()
DFastMath.java50 public static final float FLT_EPSILON = 1.1920928955078125E-7f; field in FastMath
823 x = FastMath.FLT_EPSILON; in cartesianToSpherical()
859 x = FastMath.FLT_EPSILON; in cartesianZToSpherical()
DRing.java194 if (b1.lengthSquared() < FastMath.FLT_EPSILON) { in random()
DLineSegment.java148 if (determinant >= FastMath.FLT_EPSILON) { in distanceSquared()
428 if (fDet >= FastMath.FLT_EPSILON) { in distanceSquared()
/external/clang/lib/Headers/
Dfloat.h61 # undef FLT_EPSILON
110 #define FLT_EPSILON __FLT_EPSILON__ macro
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/
DLwjglSmoothingTimer.java185 if ( lastTPF < FastMath.FLT_EPSILON ) { in update()
186 lastTPF = FastMath.FLT_EPSILON; in update()
/external/opencv/cv/src/
Dcvlinefit.cpp342 double EPS = count*FLT_EPSILON; in icvFitLine2D()
401 if( w[j] < FLT_EPSILON ) in icvFitLine2D()
448 if( fabs(sum_w) > FLT_EPSILON ) in icvFitLine2D()
491 double EPS = count*FLT_EPSILON; in icvFitLine3D()
551 if( w[j] < FLT_EPSILON ) in icvFitLine3D()
592 if( icvCalcDist3D( points, count, _line, r ) < FLT_EPSILON*count ) in icvFitLine3D()
604 if( fabs(sum_w) > FLT_EPSILON ) in icvFitLine3D()
Dcvthresh.cpp250 sum = fabs(sum) > FLT_EPSILON ? 1./sum : 0; in icvGetThreshVal_Otsu()
265 if( MIN(q1,q2) < FLT_EPSILON || MAX(q1,q2) > 1. - FLT_EPSILON ) in icvGetThreshVal_Otsu()
475 dst->data.fl, dst_step, roi, (float)(thresh*(1 + FLT_EPSILON)), 0 )); in cvThreshold()
Dcvsubdivision2d.cpp360 if( t1 < FLT_EPSILON ) in cvSubdiv2DLocate()
366 else if( t2 < FLT_EPSILON ) in cvSubdiv2DLocate()
373 fabs( cvTriangleArea( pt, org_pt, dst_pt )) < FLT_EPSILON ) in cvSubdiv2DLocate()
403 return val > FLT_EPSILON ? 1 : val < -FLT_EPSILON ? -1 : 0; in icvIsPtInCircle3()
Dcvgeometry.cpp392 assert(fabs(_R[2][1]) < FLT_EPSILON); in cvRQDecomp3x3()
411 assert(fabs(_M[2][0]) < FLT_EPSILON); in cvRQDecomp3x3()
431 assert(fabs(_R[1][0]) < FLT_EPSILON); in cvRQDecomp3x3()
Dcvfilter.cpp682 const float eps = FLT_EPSILON*100.f; in init()
1179 if( ksize == 3 && fabs(kx[0]-2.) <= FLT_EPSILON && fabs(kx[1]-1.) <= FLT_EPSILON ) in icvFilterRowSymm_32f()
1185 else if( ksize == 3 && fabs(kx[0]-10.) <= FLT_EPSILON && fabs(kx[1]-3.) <= FLT_EPSILON ) in icvFilterRowSymm_32f()
1217 if( ksize == 3 && fabs(kx[0]) <= FLT_EPSILON && fabs(kx[1]-1.) <= FLT_EPSILON ) in icvFilterRowSymm_32f()
1664 fabs(ky[1] - 2.) <= FLT_EPSILON && fabs(ky[2] - 1.) <= FLT_EPSILON; in icvFilterColSymm_32f()
1666 fabs(ky[1] - 10.) <= FLT_EPSILON && fabs(ky[2] - 3.) <= FLT_EPSILON; in icvFilterColSymm_32f()
1668 fabs(ky[1]) <= FLT_EPSILON && fabs(ky[2]*ky[2] - 1.) <= FLT_EPSILON ? in icvFilterColSymm_32f()
2169 if( fabs(((float*)(kernel->data.ptr + i*kernel->step))[j])>FLT_EPSILON ) in init()
Dcvfundam.cpp335 sigma = MAX( sigma, FLT_EPSILON*100 ); in CV_IMPLEMENT_QSORT()
413 … if( fabs(dx2*dy1 - dy2*dx1) < FLT_EPSILON*(fabs(dx1) + fabs(dy1) + fabs(dx2) + fabs(dy2))) in checkSubset()
836 if( scale0 < FLT_EPSILON || scale1 < FLT_EPSILON ) in run8Point()
905 if( fabs(F0.data.db[8]) > FLT_EPSILON ) in run8Point()
Dcvapprox.cpp759 if( fabs(start_pt.x - end_pt.x) > FLT_EPSILON || in icvApproxPolyDP_32f()
760 fabs(start_pt.y - end_pt.y) > FLT_EPSILON ) in icvApproxPolyDP_32f()
/external/opencv/ml/src/
Dmlboost.cpp246 const float epsilon = FLT_EPSILON*2; in find_split_ord_class()
386 if( weight < FLT_EPSILON ) in CV_IMPLEMENT_QSORT_EX()
400 if( L > FLT_EPSILON && R > FLT_EPSILON ) in CV_IMPLEMENT_QSORT_EX()
442 const float epsilon = FLT_EPSILON*2; in find_split_ord_reg()
538 if( ni > FLT_EPSILON ) in find_split_cat_reg()
544 if( L > FLT_EPSILON && R > FLT_EPSILON ) in find_split_cat_reg()
573 const float epsilon = FLT_EPSILON*2; in find_surrogate_split_ord()
886 if( params.weight_trim_rate < FLT_EPSILON ) in set_params()
1144 const double lb_weight_thresh = FLT_EPSILON; in update_weights()
1201 if( sumw > FLT_EPSILON ) in update_weights()
Dmlann_mlp.cpp49 rp_dw_min = FLT_EPSILON; rp_dw_max = 50.; in CvANN_MLP_TrainParams()
61 rp_dw_min = FLT_EPSILON; rp_dw_max = 50.; in CvANN_MLP_TrainParams()
66 if( rp_dw0 < FLT_EPSILON ) in CvANN_MLP_TrainParams()
150 if( fabs(_f_param1) < FLT_EPSILON ) in set_activ_func()
152 if( fabs(_f_param2) < FLT_EPSILON ) in set_activ_func()
158 if( fabs(_f_param1) < FLT_EPSILON ) in set_activ_func()
160 if( fabs(_f_param2) < FLT_EPSILON ) in set_activ_func()
821 const double DEFAULT_EPSILON = FLT_EPSILON; in train()
Dmlem.cpp418 if( maxval < FLT_EPSILON ) in init_em()
437 if( maxval < FLT_EPSILON ) in init_em()
790 double min_variation = FLT_EPSILON; in run_em()
810 d = MAX( d, FLT_EPSILON ); in run_em()
823 cvMaxS( inv_eigen_values, FLT_EPSILON, inv_eigen_values ); in run_em()
Dmltree.cpp155 cvNorm( data->var_type, var_type, CV_C ) < FLT_EPSILON && in CV_IMPLEMENT_QSORT_EX()
156 cvNorm( data->cat_count, cat_count, CV_C ) < FLT_EPSILON && in CV_IMPLEMENT_QSORT_EX()
157 cvNorm( data->cat_map, cat_map, CV_C ) < FLT_EPSILON) ) in CV_IMPLEMENT_QSORT_EX()
1568 const float epsilon = FLT_EPSILON*2; in find_split_ord_class()
1855 if( weight < FLT_EPSILON ) in find_split_cat_class()
1889 if( L > FLT_EPSILON && R > FLT_EPSILON ) in find_split_cat_class()
1929 const float epsilon = FLT_EPSILON*2; in find_split_ord_reg()
2050 const float epsilon = FLT_EPSILON*2; in find_surrogate_split_ord()
2802 if( node->alpha <= min_alpha + FLT_EPSILON ) in cut_tree()
/external/libffi/testsuite/libffi.call/
Dmany_win32.c58 if (f - ff < FLT_EPSILON) in main()
Dmany.c65 if (f - ff < FLT_EPSILON) in main()
/external/webkit/Source/JavaScriptCore/wtf/
DMathExtras.h145 inline float nextafterf(float x, float y) { return x > y ? x - FLT_EPSILON : x + FLT_EPSILON; } in nextafterf()
/external/chromium/chrome/browser/ui/cocoa/
Dcocoa_test_helper.h126 #define CGFLOAT_EPSILON FLT_EPSILON
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DBillboardControl.java225 if (lengthSquared < FastMath.FLT_EPSILON) { in rotateAxial()
/external/webkit/Source/WebCore/platform/graphics/openvg/
DPainterOpenVG.cpp50 return t.b() <= FLT_EPSILON && t.c() <= FLT_EPSILON; in isNonRotatedAffineTransformation()
291 if (opacity >= (1.0 - FLT_EPSILON)) in applyBlending()
/external/jmonkeyengine/engine/src/android/com/jme3/audio/android/
DAndroidAudioRenderer.java247 if (FastMath.abs(audioData.getCurrentVolume() - volume) > FastMath.FLT_EPSILON) { in update()

12