comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Question on modular types
Date: 1997/01/09
Date: 1997-01-09T00:00:00+00:00	[thread overview]
Message-ID: <E3qx5z.IHJ@world.std.com> (raw)
In-Reply-To: dewar.852779585@merv


In article <dewar.852779585@merv>, Robert Dewar <dewar@merv.cs.nyu.edu> wrote:
>iRobert Duff said
>
>"Convention to those who have read the RM, and understand that arithmetic
            ^al
>on modular types is always wrap-around arithmetic.  ;-)"

By the way, the above smiley was meant to imply some sympathy for the
earlier poster's view, that calling wrap-around arithmetic
"conventional" is obfuscatory.  It wasn't intended as an admonishment to
RTFM.

>I cannot find anywhere in the RM where it says that unary minus has
>wrap around arithmetic semantics, can you point me to the place where
>this is said.

3.5.4(19).

- Bob




  parent reply	other threads:[~1997-01-09  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-04  0:00 Question on modular types Jerry van Dijk
1997-01-04  0:00 ` Robert Dewar
1997-01-06  0:00   ` Jerry van Dijk
1997-01-06  0:00     ` Robert A Duff
1997-01-08  0:00       ` Robert Dewar
1997-01-09  0:00         ` Tucker Taft
1997-01-11  0:00           ` Robert Dewar
1997-01-12  0:00             ` Joel VanLaven
1997-01-09  0:00         ` Robert A Duff [this message]
1997-01-06  0:00 ` Joel VanLaven
1997-01-08  0:00 ` Stan and/or Jill Grimes
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox