Fix the result's fmt for logical operators && and || to be 'D'. Also fix the fmt for the unary negation operator to be equal to the fmt of the operand.