int material = pos.non_pawn_material(stm) - pos.non_pawn_material(~stm)
+ 126 * (pos.count<PAWN>(stm) - pos.count<PAWN>(~stm));
int material = pos.non_pawn_material(stm) - pos.non_pawn_material(~stm)
+ 126 * (pos.count<PAWN>(stm) - pos.count<PAWN>(~stm));
v = ( nnue * (915 + npm + 9 * pos.count<PAWN>())
+ optimism * (154 + npm + pos.count<PAWN>())) / 1024;
v = ( nnue * (915 + npm + 9 * pos.count<PAWN>())
+ optimism * (154 + npm + pos.count<PAWN>())) / 1024;