Consider the following typical framework...
Code: Select all
v = -alphabeta( -beta, -alpha...)
// eventually code gets here...
if ( v >= beta
{
// do cutoff stuff
saveHash(..., beta, ...); // in some examples, v is saved
return beta; // in some examples, v is returned
}
// code continues
It must make a difference, me thinks.
Does it have to do with hard vs soft fail?
If so, which is correct for each case?