comp.lang.ada
 help / color / mirror / Atom feed
* Ada Floating-point model
@ 1997-08-12  0:00 Geert Bosch
  1997-08-14  0:00 ` Matthew Heaney
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Bosch @ 1997-08-12  0:00 UTC (permalink / raw)



I am trying to understand the floating point model of Ada.
Hopefully somebody would like to answer my questions below.

Does a model interval associated with a value of a floating
point type include one or two model numbers? 

The RM defines a model interval as an interval whose bounds
are model numbers, but doesn't tell which bounds are included
in the interval. 

Then there is a remark that the model interval of a model number
consists of that number only. So when I use two model numbers as
operands of a predefined operation, the result should be in
the smallest model interval containing the result. When this
result is a model number this interval consists of that
number only and the operation is exact, right?


Regards,
   Geert




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-08-14  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-12  0:00 Ada Floating-point model Geert Bosch
1997-08-14  0:00 ` Matthew Heaney

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