comp.lang.ada
 help / color / mirror / Atom feed
From: brian.b.mcguinness@lmco.com
Subject: Re: Fixed point attributes
Date: 17 Mar 2005 05:31:06 -0800
Date: 2005-03-17T05:31:06-08:00	[thread overview]
Message-ID: <1111066266.099494.162830@f14g2000cwb.googlegroups.com> (raw)
In-Reply-To: <P8mdnccUBYz3KaXfRVn-vQ@megapath.net>

I see your point, but according to
http://www.grammatech.com/rm95html-1.0/rm9x-03-05-10.html,

---
  The following attributes are defined for every fixed point subtype S:

  ...
  S'Round
  S'Round denotes a function with the following specification:
  (13)
           function S'Round(X : universal_real)
             return S'Base

  (14)
  The function returns the value obtained by rounding X (away from 0,
if X is midway between two values of the type of S).
---
So I was thinking that if they could define Round they could define the
other two as well.

--- Brian




  reply	other threads:[~2005-03-17 13:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-16 18:36 Fixed point attributes brian.b.mcguinness
2005-03-16 22:36 ` Randy Brukardt
2005-03-17 13:31   ` brian.b.mcguinness [this message]
2005-03-17 23:30     ` Randy Brukardt
replies disabled

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