/dports/games/sjeng/Sjeng-Free-11.2/ |
H A D | see.c | 50 b_sq = board[a_sq]; in setup_attackers() 53 if (b_sq == wking) in setup_attackers() 70 while (b_sq != frame) in setup_attackers() 72 if (b_sq == wrook || b_sq == wqueen) in setup_attackers() 79 else if (b_sq == brook || b_sq == bqueen) in setup_attackers() 88 b_sq = board[a_sq]; in setup_attackers() 97 b_sq = board[a_sq]; in setup_attackers() 131 if (b_sq == wbishop || b_sq == wqueen) in setup_attackers() 138 else if (b_sq == bbishop || b_sq == bqueen) in setup_attackers() 147 b_sq = board[a_sq]; in setup_attackers() [all …]
|
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/Libraries/2D/Source/Gen/ |
H A D | genov.c | 45 fix24 a_sq, b_sq; in gr_int_uoval() local 49 b_sq = (b * b)<<8; in gr_int_uoval() 59 t2 = fix24_mul(b_sq,((x+1)<<8)); in gr_int_uoval() 77 t2 = fix24_mul(b_sq,((x+1)<<8)); in gr_int_uoval() 81 d2 = fix24_mul(t1,b_sq); in gr_int_uoval() 86 t1 = fix24_mul(a_sq,b_sq); in gr_int_uoval() 112 fix24 a_sq, b_sq; in gr_int_oval() local 123 b_sq = (b * b)<<8; in gr_int_oval() 133 t2 = fix24_mul(b_sq,((x+1)<<8)); in gr_int_oval() 155 d2 = fix24_mul(t1,b_sq); in gr_int_oval() [all …]
|
H A D | genel.c | 45 fix24 a_sq, b_sq; in gr_int_uelipse() local 49 b_sq = (b * b)<<8; in gr_int_uelipse() 59 t2 = fix24_mul(b_sq,((x+1)<<8)); in gr_int_uelipse() 79 t2 = fix24_mul(b_sq,((x+1)<<8)); in gr_int_uelipse() 83 d2 = fix24_mul(t1,b_sq); in gr_int_uelipse() 88 t1 = fix24_mul(a_sq,b_sq); in gr_int_uelipse() 115 fix24 a_sq, b_sq; in gr_int_elipse() local 126 b_sq = (b * b)<<8; in gr_int_elipse() 136 t2 = fix24_mul(b_sq,((x+1)<<8)); in gr_int_elipse() 160 d2 = fix24_mul(t1,b_sq); in gr_int_elipse() [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/test/ |
H A D | short_column.cpp | 100 b_sq = b*b, h_sq = h*h, p_sq = p*p, y_sq = y*y; in main() local 109 << 1. - 4.*m/(b*h_sq*y) - p_sq/(b_sq*h_sq*y_sq) << " g\n"; in main() 135 fout << 4.*m/(b_sq*h_sq*y) + 2.*p_sq/(b_sq*b*h_sq*y_sq) << ' '; in main() 138 fout << 8.*m/(b*h_sq*h*y) + 2.*p_sq/(b_sq*h_sq*h*y_sq) << ' '; in main() 141 fout << -2.*p/(b_sq*h_sq*y_sq) << ' '; in main() 147 fout << 4.*m/(b*h_sq*y_sq) + 2.*p_sq/(b_sq*h_sq*y_sq*y) << ' '; in main() 171 fout << -8.*m/(b_sq*b*h_sq*y) - 6.*p_sq/(b_sq*b_sq*h_sq*y_sq) << ' '; in main() 174 fout << -8.*m/(b_sq*h_sq*h*y) - 4.*p_sq/(b_sq*b*h_sq*h*y_sq) << ' '; in main() 178 fout << -2./(b_sq*h_sq*y_sq) << ' '; in main() 184 fout << 4.*p/(b_sq*h_sq*y_sq*y) << ' '; in main() [all …]
|
/dports/graphics/libwmf/libwmf-0.2.12/src/extra/gd/ |
H A D | bresenham_ellipse | 4 long d, b_sq, b_sq_4, b_sq_6; 16 b_sq = (long) h *h; 25 switchem = a_sq / lsqrt (a_sq + b_sq); 71 d += -2 * (long) b_sq + 2 * (long) a_sq - 2 * (long) b_sq *(x - 1) + 2 * (long) a_sq *(y - 1);
|
/dports/graphics/libwmf-nox11/libwmf-0.2.12/src/extra/gd/ |
H A D | bresenham_ellipse | 4 long d, b_sq, b_sq_4, b_sq_6; 16 b_sq = (long) h *h; 25 switchem = a_sq / lsqrt (a_sq + b_sq); 71 d += -2 * (long) b_sq + 2 * (long) a_sq - 2 * (long) b_sq *(x - 1) + 2 * (long) a_sq *(y - 1);
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bil/algo/ |
H A D | bil_perform_tensor_decomposition.hxx | 50 vil_image_view<T> b_sq; b_sq.deep_copy(b); in bil_perform_tensor_decomposition() local 51 vil_transform(b_sq,vil_math_square_functor()); in bil_perform_tensor_decomposition() 54 vil_math_image_sum(a_sq,b_sq,ab2); in bil_perform_tensor_decomposition()
|
/dports/math/cgal/CGAL-5.3/demo/Arrangement_on_surface_2/ |
H A D | GraphicsViewCurveInput.cpp | 271 Rat_FT b_sq = b * b; in generateEllipse() local 275 Rat_FT r = b_sq; in generateEllipse() 278 Rat_FT u = -2 * x0 * b_sq; in generateEllipse() 280 Rat_FT ww = x0 * x0 * b_sq + y0 * y0 * a_sq - a_sq * b_sq; in generateEllipse()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/src/ |
H A D | TestDriverInterface.cpp | 2410 fnVals[lsi] = 1. - 4.*M/(b*h_sq*Y) - P_sq/(b_sq*h_sq*Y_sq); in short_column() 2429 fnGrads[lsi][i] = 4.*M/(b_sq*h_sq*Y) + 2.*P_sq/(b_sq*b*h_sq*Y_sq);break; in short_column() 2453 fnHessians[lsi](i,j) = -8.*M/(b_sq*b*h_sq*Y) in short_column() 2454 - 6.*P_sq/(b_sq*b_sq*h_sq*Y_sq); in short_column() 2457 fnHessians[lsi](i,j) = -8.*M/(b_sq*h_sq*h*Y) in short_column() 2458 - 4.*P_sq/(b_sq*b*h_sq*h*Y_sq); in short_column() 2461 - 6.*P_sq/(b_sq*h_sq*h_sq*Y_sq); in short_column() 2463 fnHessians[lsi](i,j) = -2./(b_sq*h_sq*Y_sq); in short_column() 2469 fnHessians[lsi](i,j) = 4.*P/(b_sq*h_sq*Y_sq*Y); in short_column() 2477 - 6.*P_sq/(b_sq*h_sq*Y_sq*Y_sq); in short_column() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/draw/intern/ |
H A D | draw_manager_data.c | 1558 float b_sq = len_squared_v3v3(bbox->vec[2], bbox->vec[5]); in draw_frustum_bound_sphere_calc() local 1563 float fac = (4 * h_sq + b_sq - a_sq) / (8 * h_sq); in draw_frustum_bound_sphere_calc()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/mesh/ |
H A D | editmesh_knife.c | 2285 const float b_sq = len_squared_v3v3(co, cur_b->co); in sort_verts_by_dist_cb() local 2287 if (a_sq < b_sq) { in sort_verts_by_dist_cb() 2290 if (a_sq > b_sq) { in sort_verts_by_dist_cb()
|