Files
stockfish/src
nickpellingandStéphane Nicolet d232a4ae68 Clarify the mapping of files to queenside
This patch replaces the obscure expressions mapping files ABCDEFGH to ABCDDCBA
by explicite calls to an auxiliary function:

  old:   f = min(f, ~f)
  new:   f = map_to_queenside(f)

We used the Golbolt web site (https://godbolt.org) to check that the current
code for the auxiliary function is optimal.

STC:
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 30292 W: 6756 L: 6651 D: 16885
http://tests.stockfishchess.org/tests/view/5d8676720ebc5971531d6aa1

Achieved with a bit of help from Sopel97, snicolet and vondele, thanks everyone!
Closes https://github.com/official-stockfish/Stockfish/pull/2325

No functional change
2019-09-24 10:05:54 +02:00
..
2019-05-02 19:30:26 +02:00
2019-07-26 02:12:23 +02:00
2019-06-14 08:22:02 +02:00
2018-12-13 13:35:35 +01:00
2019-06-09 14:57:08 +02:00
2019-09-14 07:34:19 +02:00
2019-07-26 02:12:23 +02:00
2019-06-22 09:57:07 +02:00
2019-05-02 19:30:26 +02:00
2018-11-19 11:18:21 +01:00
2019-07-11 11:59:36 +02:00
2019-04-17 21:13:39 +02:00
2019-09-14 08:33:00 +02:00
2019-09-23 07:29:00 +02:00
2019-08-26 08:49:55 +02:00
2019-08-26 08:49:55 +02:00
2019-08-26 08:49:55 +02:00
2019-05-02 19:30:26 +02:00
2018-11-19 11:18:21 +01:00
2019-06-09 14:57:08 +02:00
2019-06-09 14:57:08 +02:00
2018-11-19 11:18:21 +01:00
2019-07-14 14:47:50 +02:00