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=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2afac1a4161c7f35 X-Google-Attributes: gid103376,public From: "Nick Roberts" Subject: Pred Date: 1998/01/24 Message-ID: <01bd291d$11de1780$35f882c1@xhv46.dial.pipex.com>#1/1 X-Deja-AN: 318936951 Content-Transfer-Encoding: 7bit References: <199801151530.QAA21301@basement.replay.com> Content-Type: text/plain; charset=ISO-8859-1 Organization: UUNet UK server (post doesn't reflect views of UUNet UK) Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-01-24T00:00:00+00:00 List-Id: In Ada 83 Pred could only be applied to discrete types, but in Ada 95 it can be applied to all scalar types. For fixed-point types, it denotes a function which returns the value one machine number smaller than the argument. -- Nick Roberts Croydon, UK Proprietor, ThoughtWing Software; Independent Software Development Consultant * Nick.Roberts@dial.pipex.com * Voicemail & Fax +44 181-405 1124 * *** Always game for a verbal joust (usually as the turkey) *** Martin M Dowie wrote in article ... > 'Pred on a float? shurely shome mishtake... > > how about something like - > > subtype A_Heading is Ownship_Heading_Base range 0.0 .. 360.0; > > subtype Ownship_Heading is A_Heading > range A_Heading'first .. A_Heading'Last - A_Heading'Small;