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, MSGID_RANDY 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: Robert Dewar Subject: Re: Disallowing Pre-Defined Operations Date: 2000/04/06 Message-ID: <8cic1h$195$1@nnrp1.deja.com>#1/1 X-Deja-AN: 607593862 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> <38EC160F.E2A13F44@quadruscorp.com> X-Http-Proxy: 1.0 x23.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Apr 06 15:55:38 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-04-06T00:00:00+00:00 List-Id: In article <38EC160F.E2A13F44@quadruscorp.com>, "Marin D. Condic" wrote: > I've voted for it before, but I'll mention it again: Integer and Real > (Fixed & Float) types that saturate on overflow. Why does this need a language feature? This is the sort of thing that is perfectly easy to program in Ada now. Sure you might get a little bit more efficient implementation if it was built in, but compilers could already do that by use of Intrinsic conventions, I see no reason for a new language feature here. Does anyone have any experience with saturating numeric types in existing Ada programs? Sent via Deja.com http://www.deja.com/ Before you buy.