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,c7ea1cb7a2beb2ee X-Google-Attributes: gid103376,public From: "Marin D. Condic" Subject: Re: Disallowing Pre-Defined Operations Date: 2000/04/05 Message-ID: <38EC160F.E2A13F44@quadruscorp.com>#1/1 X-Deja-AN: 607344339 Content-Transfer-Encoding: 7bit References: <8a9eeg$qtv$1@newpoisson.nosc.mil> <38D2E598.262D1CD5@erols.com> <8b0pbg$aph$1@nnrp1.deja.com> <38D9A2E8.F720768@erols.com> <8bcalg$pmb$1@nnrp1.deja.com> <38EBDD10.65444727@earthlink.net> Organization: Quadrus Corporation X-Sender: "Marin D. Condic" (Unverified) X-Server-Date: 6 Apr 2000 01:45:06 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-04-06T01:45:06+00:00 List-Id: Robert I. Eachus wrote: > There is a general-purpose feature that could be added to compilers, > and which is already > explicitly allowed for by the Ada 95 standard. If compilers were to > provide a non-standard > integer and non-standard floating point type with literals, assignment > and, I think, no other operations, then implementors could provide > various packages to provide SI unit checking, unbounded numeric types > with literals and so on. Hmmm. The 'SIZE attribute is key, and needs I've voted for it before, but I'll mention it again: Integer and Real (Fixed & Float) types that saturate on overflow. It may be hard to implement on some hardware, but it could be very useful. I don't think we'd need to come up with war stories to argue its usefulness. Its already done (through a variety of hacks) in lots of embedded systems that perform control of analog hardware. MDC -- ============================================================= Marin David Condic - Quadrus Corporation - 1.800.555.3393 1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233 http://www.quadruscorp.com/ m c o n d i c @ q u a d r u s c o r p . c o m ***PLEASE REMOVE THE "-NOSPAM" PART OF MY RETURN ADDRESS*** Visit my web site at: http://www.mcondic.com/ "Because that's where they keep the money." -- Willie Sutton when asked why he robbed banks. =============================================================