]> git.sesse.net Git - stockfish/blobdiff - src/value.h
Retire is_upper_bound() and friend
[stockfish] / src / value.h
index 345526b625eaf3e3118d37f0e06e54476f6fd17c..cb545d611ba0b42016a05658614855a70e7222dd 100644 (file)
@@ -163,28 +163,4 @@ inline Value value_mated_in(int ply) {
   return -VALUE_MATE + ply;
 }
 
-inline bool is_upper_bound(ValueType vt) {
-  return (int(vt) & int(VALUE_TYPE_UPPER)) != 0;
-}
-
-inline bool is_lower_bound(ValueType vt) {
-  return (int(vt) & int(VALUE_TYPE_LOWER)) != 0;
-}
-
-inline Value piece_value_midgame(PieceType pt) {
-  return PieceValueMidgame[pt];
-}
-
-inline Value piece_value_endgame(PieceType pt) {
-  return PieceValueEndgame[pt];
-}
-
-inline Value piece_value_midgame(Piece p) {
-  return PieceValueMidgame[p];
-}
-
-inline Value piece_value_endgame(Piece p) {
-  return PieceValueEndgame[p];
-}
-
 #endif // !defined(VALUE_H_INCLUDED)