Return local sign of the operand . For example , in the expr a - b - ( c ) , local signs of the operands are + a , - b , + c
bool adjSign ( string s , int i ) { if ( i == 0 ) return true ; if ( s [ i - 1 ] == ' - ' ) return false ; return true ; } ;