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.2 required=5.0 tests=BAYES_00,FROM_WORDY, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,edb6dd3a3f93fcc0 X-Google-Attributes: gid103376,public From: "Nick Roberts" Subject: Re: trunc Date: 1999/03/18 Message-ID: <7cttkp$348$2@plug.news.pipex.net>#1/1 X-Deja-AN: 456541071 References: <7crcfm$tp0$1@nnrp1.dejanews.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom) Newsgroups: comp.lang.ada Date: 1999-03-18T00:00:00+00:00 List-Id: I suspect the 'Truncation' attribute is more likely to be what Phadreus is looking for (see RM95 A.5.3), since it 'chops off' the fractional part, whether the number is positive or negative. As for efficiency, I would guess that the use of the attribute is likely to be the most efficient implementation for the vast majority of (native code) compilers. ------------------------------------- Nick Roberts -------------------------------------