From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3b4bed4f74b8ac49 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: GNAT messages and the not operator (pitfall alert!) Date: 1996/11/05 Message-ID: #1/1 X-Deja-AN: 194841306 references: <32762A30.D2D@watson.ibm.com> organization: New York University newsgroups: comp.lang.ada Date: 1996-11-05T00:00:00+00:00 List-Id: Norman said "I agree this is a nasty one, and Ada as a Second Language explicitly warns about it (bottom of page 245), as well as about the only slightly less insidious A+B mod C (which means A + (B mod C))." I find that completely dubious, apart from the spacing (which would be a factor even in A+B * C), it seems clear that one expects mod to have a similar precedence to multiplication or division.