comp.lang.ada
 help / color / mirror / Atom feed
From: "Nick Roberts" <Nick.Roberts@dial.pipex.com>
Subject: Re: trunc
Date: 1999/03/18
Date: 1999-03-18T00:00:00+00:00	[thread overview]
Message-ID: <7cttkp$348$2@plug.news.pipex.net> (raw)
In-Reply-To: m3sob2wuq4.fsf@mheaney.ni.net

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
-------------------------------------








  reply	other threads:[~1999-03-18  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-18  0:00 trunc phadreus
1999-03-18  0:00 ` trunc Matthew Heaney
1999-03-18  0:00   ` Nick Roberts [this message]
1999-03-18  0:00   ` trunc Tucker Taft
1999-03-19  0:00     ` trunc Michael Stark
1999-03-19  0:00 ` trunc Michael F Brenner
1999-03-19  0:00   ` trunc Markus Kuhn
1999-03-22  0:00   ` trunc Howard W. LUDWIG
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox