mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 01:27:16 +08:00
Retire is_upper_bound() and friend
Directly expand in the few places where is called. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -163,12 +163,4 @@ inline Value value_mated_in(int ply) {
|
||||
return -VALUE_MATE + ply;
|
||||
}
|
||||
|
||||
inline int is_upper_bound(ValueType vt) {
|
||||
return vt & VALUE_TYPE_UPPER;
|
||||
}
|
||||
|
||||
inline int is_lower_bound(ValueType vt) {
|
||||
return vt & VALUE_TYPE_LOWER;
|
||||
}
|
||||
|
||||
#endif // !defined(VALUE_H_INCLUDED)
|
||||
|
||||
Reference in New Issue
Block a user