/dports/games/gnuchess/gnuchess-6.2.9/src/frontend/ |
H A D | move.cc | 43 int rookf, rookt, epsq, sq; in MakeMove() local 65 g->epsq = board.ep; in MakeMove() 115 CLEARBIT (board.b[xside][pawn], epsq); in MakeMove() 119 cboard[epsq] = empty; in MakeMove() 274 int rookf, rookt, epsq; in UnmakeMove() local 329 epsq = (side == white ? g->epsq - 8 : g->epsq + 8); in UnmakeMove() 330 SETBIT (board.b[xside][pawn], epsq); in UnmakeMove() 331 SETBIT (board.blockerr90, r90[epsq]); in UnmakeMove() 332 SETBIT (board.blockerr45, r45[epsq]); in UnmakeMove() 334 cboard[epsq] = pawn; in UnmakeMove() [all …]
|
H A D | genmove.cc | 628 int kingsq, chksq, sq, sq1, epsq, dir; in GenCheckEscapes() local 663 epsq = board.ep; in GenCheckEscapes() 664 if (epsq + (side == white ? -8 : 8) == chksq) in GenCheckEscapes() 666 b = MoveArray[ptype[1^side]][epsq] & p; in GenCheckEscapes() 672 ADDMOVE (sq, epsq, ENPASSANT); in GenCheckEscapes()
|
H A D | common.h | 119 short epsq; /* en passant square */ member
|
/dports/games/crafty/crafty-25.2_1/ |
H A D | make.c | 98 Clear(to + epsq[side], Pawns(enemy)); in MakeMove() 99 Clear(to + epsq[side], Occupied(enemy)); in MakeMove() 100 Hash(enemy, pawn, to + epsq[side]); in MakeMove() 101 HashP(enemy, to + epsq[side]); in MakeMove() 102 PcOnSq(to + epsq[side]) = 0; in MakeMove() 121 EnPassant(ply + 1) = to + epsq[side]; in MakeMove() 122 HashEP(to + epsq[side]); in MakeMove()
|
H A D | unmake.c | 61 Set(to + epsq[side], Pawns(enemy)); in UnmakeMove() 62 Set(to + epsq[side], Occupied(enemy)); in UnmakeMove() 63 PcOnSq(to + epsq[side]) = pieces[enemy][pawn]; in UnmakeMove()
|
H A D | epd.h | 77 epdptrT EPDSet(rbptrT rbptr, cT actc, castT cast, sqT epsq); 78 void EPDSetCurrentPosition(rbptrT rbptr, cT actc, castT cast, sqT epsq, 91 charptrT EPDGenBasic(rbptrT rbptr, cT actc, castT cast, sqT epsq);
|
H A D | epdglue.c | 382 sqT epsq; in EGGetIndexedHostPosition() local 426 epsq = sq_nil; in EGGetIndexedHostPosition() 429 while ((epsq == sq_nil) && (sq <= sq_h8)) in EGGetIndexedHostPosition() 431 epsq = sq; in EGGetIndexedHostPosition() 440 EPDSetCurrentPosition(&rb, actc, cast, epsq, hmvc, fmvn); in EGGetIndexedHostPosition() 465 sqT epsq; in EGPutHostPosition() local 485 epsq = EPDFetchEPSQ(); in EGPutHostPosition() 505 if (epsq == sq_nil) in EGPutHostPosition() 508 tree->status[0].enpassant_target = EGMapToHostSq(epsq); in EGPutHostPosition()
|
H A D | data.h | 355 extern const int epsq[2];
|
H A D | data.c | 989 const int epsq[2] = {+8, -8}; variable
|
H A D | epd.c | 1152 nonstatic epdptrT EPDSet(rbptrT rbptr, cT actc, castT cast, sqT epsq) { in EPDSet() argument 1166 epdptr->epd_epsq = epsq; in EPDSet() 1172 sqT epsq, siT hmvc, siT fmvn) { in EPDSetCurrentPosition() argument 1180 ese.ese_epsq = epsq; in EPDSetCurrentPosition() 1263 nonstatic charptrT EPDGenBasic(rbptrT rbptr, cT actc, castT cast, sqT epsq) { in EPDGenBasic() argument 1268 epdptr = EPDSet(rbptr, actc, cast, epsq); in EPDGenBasic()
|
/dports/games/KnightCap/Export/ |
H A D | epdglue.c | 387 sqT epsq; in EGGetIndexedHostPosition() local 425 epsq = sq_nil; in EGGetIndexedHostPosition() 427 epsq = transpose(sq); in EGGetIndexedHostPosition() 439 EPDSetCurrentPosition(&rb, actc, cast, epsq, hmvc, fmvn); in EGGetIndexedHostPosition()
|
H A D | epd.h | 80 epdptrT EPDSet(rbptrT rbptr, cT actc, castT cast, sqT epsq); 81 void EPDSetCurrentPosition(rbptrT rbptr, cT actc, castT cast, sqT epsq, siT hmvc, siT fmvn); 93 charptrT EPDGenBasic(rbptrT rbptr, cT actc, castT cast, sqT epsq);
|
H A D | epd.c | 1762 EPDSet(rbptrT rbptr, cT actc, castT cast, sqT epsq) in EPDSet() argument 1781 epdptr->epd_epsq = epsq; in EPDSet() 1789 EPDSetCurrentPosition(rbptrT rbptr, cT actc, castT cast, sqT epsq, siT hmvc, siT fmvn) in EPDSetCurrentPosition() argument 1800 ese.ese_epsq = epsq; in EPDSetCurrentPosition() 1982 EPDGenBasic(rbptrT rbptr, cT actc, castT cast, sqT epsq) in EPDGenBasic() argument 1989 epdptr = EPDSet(rbptr, actc, cast, epsq); in EPDGenBasic()
|
/dports/games/py-pychess/pychess-1.0.2/lib/pychess/Utils/lutils/ |
H A D | egtb_gaviota.py | 134 epsq = board.enpassant or 64 # 64 is tb_NOSQUARE 157 ok = self.tb_probe_WDL_soft(stm, epsq, castles, sq[WHITE], 161 ok = self.tb_probe_WDL_hard(stm, epsq, castles, sq[WHITE], 165 ok = self.tb_probe_soft(stm, epsq, castles, sq[WHITE], sq[BLACK], 169 ok = self.tb_probe_hard(stm, epsq, castles, sq[WHITE], sq[BLACK],
|
/dports/science/tinker/tinker/source/ |
H A D | square.f | 69 real*8 eps,epsq,delta 120 epsq = sqrt(eps) 199 stepsz = epsq * abs(xc(j)) 200 if (stepsz .lt. epsq) stepsz = epsq 395 stepsz = epsq * max(abs(xc(j)),1.0d0/xscale(j))
|
/dports/games/sjeng/Sjeng-Free-11.2/ |
H A D | sjeng.h | 125 int epsq; member
|
H A D | moves.c | 1310 path_x[ply].epsq = ep_square; in make() 1949 ep_square = path_x[ply].epsq; in unmake()
|
/dports/games/chessx/chessx-1.5.6/src/database/ |
H A D | bitboard.cpp | 2307 m_piece[epsq] = Empty; in doMove() 2308 m_pawns ^= SetBit(epsq); in doMove() 2309 m_occupied_co[sntm] ^= SetBit(epsq); in doMove() 2310 m_occupied_l90 ^= SetBitL90(to) ^ SetBitL90(epsq); in doMove() 2311 m_occupied_l45 ^= SetBitL45(to) ^ SetBitL45(epsq); in doMove() 2312 m_occupied_r45 ^= SetBitR45(to) ^ SetBitR45(epsq); in doMove() 2519 m_piece[epsq] = Pawn; in undoMove() 2520 m_pawns ^= SetBit(epsq); in undoMove() 2521 m_occupied_co[m_stm] ^= SetBit(epsq); in undoMove() 2522 m_occupied_l90 ^= SetBitL90(to) ^ SetBitL90(epsq); in undoMove() [all …]
|
/dports/graphics/gmt/gmt-6.3.0/src/mgd77/ |
H A D | cm4_functions.c | 156 double *epsq = NULL; /* was [13680] */ in MGD77_cm4field() local 438 epsq = calloc(13680U, sizeof(double)); in MGD77_cm4field() 638 iseason(2, 5, c__13680, fsrf, tssq, epsq, gpsq); in MGD77_cm4field() 639 blsgen(c__13680, c__13680, 3, bc, epsq, &hysq[41040]); in MGD77_cm4field() 648 blsgen(c__13680, c__13680, 3, bc, epsq, &hysq[41040]); in MGD77_cm4field() 656 getgxf(0, 4, 60, 12, &js, epsq, &Ctrl->CM4_DATA.gmdl[nout-1], tdsq); in MGD77_cm4field() 682 iseason(2, 5, c__13680, fsrf, tssq, epsq, &gpsq[68400]); in MGD77_cm4field() 683 blsgen(c__13680, c__13680, 3, bc, epsq, hysq); in MGD77_cm4field() 692 blsgen(c__13680, c__13680, 3, bc, epsq, hysq); in MGD77_cm4field() 700 getgxf(0, 4, 60, 12, &nu, epsq, &Ctrl->CM4_DATA.gmdl[nout-1], tdsq); in MGD77_cm4field() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/optimization/tests/nonreg_tests/ |
H A D | bug_4925.dia.ref | 26 dimension= 3, epsq= 0.2220446049250313E-15, verbosity level: iprint= 3
|
H A D | bug_9697.dia.ref | 45 dimension= 4, epsq= 0.2220446049250313E-15, verbosity level: iprint= 1
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/optimization/tests/unit_tests/ |
H A D | optim_scilabscript.dia.ref | 70 dimension= 2, epsq= 0.2220446049250313E-15, verbosity level: iprint= 1 80 dimension= 2, epsq= 0.2220446049250313E-15, verbosity level: iprint= 2 127 dimension= 2, epsq= 0.2220446049250313E-15, verbosity level: iprint= 3 629 dimension= 2, epsq= 0.2220446049250313E-15, verbosity level: iprint= 1 637 dimension= 2, epsq= 0.2220446049250313E-15, verbosity level: iprint= 2 788 dimension= 2, epsq= 0.2220446049250313E-15, verbosity level: iprint= 3
|
/dports/games/gnuchess/gnuchess-6.2.9/ |
H A D | NEWS | 847 of epsq variable in leaf structure; it wasn't needed as a board.ep
|