Thanks, Eelco!Eelco de Groot wrote:Code: Select all
inline Value PawnInfo::eg_value() const { // EdG: was Value(mgValue)? return Value(egValue);
This is indeed a clear bug, and I had not noticed it myself before now.
Tord
Moderator: Ras
Thanks, Eelco!Eelco de Groot wrote:Code: Select all
inline Value PawnInfo::eg_value() const { // EdG: was Value(mgValue)? return Value(egValue);
Code: Select all
#else
typedef __int8 int8_t;
typedef unsigned __int8 uint8_t;
typedef __int16 int16;
typedef unsigned __int16 int16_t;
typedef __int32 int32;
typedef unsigned __int32 uint32_t;
typedef __int64 int64;
typedef unsigned __int64 uint64_t;Code: Select all
////
//// Prototypes
////
extern void init_threads();
extern void stop_threads();
extern void think(const Position &pos, bool infinite, bool ponder, int time,
int increment, int movesToGo, int maxDepth, int maxNodes,
int maxTime, Move searchMoves[]);
extern int64_t nodes_searched();
The 080422 sources use int64 signed integers for all the nodecounters so I'll try to follow that, and change typedefs to only use *_t endings for all the unsigned integers. One of the 8 bit typedefs,I should input uint64_t For a nodecounter it makes sense not to expect negative numbers
Code: Select all
int8_tCode: Select all
#else
typedef __int8 int8;
typedef unsigned __int8 uint8_t;
typedef __int16 int16;
typedef unsigned __int16 uint16_t;
typedef __int32 int32;
typedef unsigned __int32 uint32_t;
typedef __int64 int64;
typedef unsigned __int64 uint64_t;
#endif // !defined(_MSC_VER)