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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,583275b6950bf4e6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-30 16:01:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!news.theplanet.net!not-for-mail From: "John Griffiths" Newsgroups: comp.lang.ada Subject: Re: Saturated Math Date: Fri, 30 May 2003 23:50:10 +0100 Message-ID: References: <3ECFF541.1010705@attbi.com> <3ED0B820.5050603@noplace.com> <3ED2096F.3020800@noplace.com> <3ED353BE.40605@noplace.com> <3ED4A323.3000909@noplace.com> <3ED5E8DE.8070308@noplace.com> <3ED7437E.5060607@noplace.com> NNTP-Posting-Host: 81.78.3.67 X-Trace: newsg4.svr.pol.co.uk 1054335695 7826 81.78.3.67 (30 May 2003 23:01:35 GMT) NNTP-Posting-Date: 30 May 2003 23:01:35 GMT X-Complaints-To: abuse@theplanet.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:38167 Date: 2003-05-30T23:01:35+00:00 List-Id: Sorry to but in: Question: don't fuzzy logic states saturate? If so could be another reason to add to Ada2xxx. Regards John "Marin David Condic" wrote in message news:3ED7437E.5060607@noplace.com... > Note that you'd also have some problems with assignment because Ada > doesn't provide a means of overriding it. This is also the area where > saturation would be the *most* useful. > > Consider that I want to compute some position for an actuator. I don't > really care if the computation itself is done with infinite precision. > What I care about is the *result* being limited to within the bounds of > the actuator. So what I need is saturation on assignment and it would > also be handy to be able to easily mix it with constants and other > compatible types. We've done it with home-brewed packages, but it just > seems to be more clumsy than if it were just a feature of the language. > > MDC > > Dale Stanbrough wrote: > > > > > x : Number := 4; > > > > -- > ====================================================================== > Marin David Condic > I work for: http://www.belcan.com/ > My project is: http://www.jast.mil/ > > Send Replies To: m c o n d i c @ a c m . o r g > > "In general the art of government consists in taking as > much money as possible from one class of citizens to give > to the other." > > -- Voltaire > ====================================================================== >