Page 1 sur 1

part (-expression, 0) => "neg"

Publié : lun. févr. 26, 2018 1:49 am
par compsystems
HELLO BP, there is a problem extracting the operator from the following expression
the part (-3 * x, 0) extracts the minus sign "-", must extract the change of sign "neg" of the operator, so that the reverse process can be carried out, or make a difference between the symbols − (minus), - (neg)

Re: part (-expression, 0) => "neg"

Publié : lun. févr. 26, 2018 7:09 am
par parisse
- is neg, you won't see binary minus because a-b is internally a+(-b).