Legacy Issue Number: 12965
Source: TCS ( Ravindra Naik)
The unary operators "Negate" and "Not" appear to be similar, and hence one of them can possibly be discarded.
Reported: ASTM 1.0b1 — Wed, 22 Oct 2008 04:00 GMT
Disposition: Resolved — ASTM 1.0
The change to the specification will be in section# <2.11.7>, page# <56>, line# <36>. The class Negate will be deleted.
The Figure 34, in section# <3.1.9>, page# <75> will incorporate an appropriate equivalent change <ToBeDone>.
The Table 8 will be updated in section# <2.3>, page# 41 to delete the entry for "Negate".
Email interaction on 24th Aug. 09: Post the ballot-voting
The proposed solution was to drop Negate and retain Not. Both Faron and Nick have correctly pointed out that the two operators are different. While "Not" produces logical inversion of its boolean operand, "Negate" produces 2's complement of its integer operand. We recommend a change to the resolution - retain the "Negate" operator, but with the name as "UnaryMinus".
An equivalent change to diagram is in Figure 34.
Updated: Fri, 6 Mar 2015 20:57 GMT