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: Niklas Holsti Subject: Re: Disallowing Pre-Defined Operations Date: 2000/04/15 Message-ID: <38F81183.D8FA89C1@icon.fi>#1/1 X-Deja-AN: 611435390 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> <38EC160F.E2A13F44@quadruscorp.com> <8cic1h$195$1@nnrp1.deja.com> <38ED3145.BE3CEC68@quadruscorp.com> <38EE18A8.FD5F1A05@quadruscorp.com> <8ckre7$o2p2@ftp.kvaerner.com> <38EE267E.12466F1E@quadruscorp.com> Content-Type: text/plain; charset=us-ascii X-Trace: read2.inet.fi 955785064 194.252.1.141 (Sat, 15 Apr 2000 10:51:04 EET DST) Organization: Sonera corp Internet services MIME-Version: 1.0 NNTP-Posting-Date: Sat, 15 Apr 2000 10:51:04 EET DST Newsgroups: comp.lang.ada Date: 2000-04-15T00:00:00+00:00 List-Id: Marin D. Condic wrote: ... > When the value > exceeds the range, the object is saturated to its max/min value. This is > inherently slow in that you can't just do the math, but have to check > results and saturate at every step of the way. (Unless the hardware has > direct support for it. I've not encountered that anywhere, but that > doesn't mean it doesn't exist.) The Analog Devices ADSP-21020 digital signal processor can be put in a "saturation" mode in which the arithmetic operations are saturating rather than overflowing. I suppose this holds for the newer "SHARC" series too. Since the 21020 is a 32-bit, floating-point DSP, this could be a nice platform for saturation arithmetic in demanding real-time systems. Niklas Holsti Working at but not speaking for Space Systems Finland Ltd.