comp.lang.ada
 help / color / mirror / Atom feed
* integer questia
@ 2010-04-23  9:20 bedriemir
  2010-04-23 10:01 ` J-P. Rosen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: bedriemir @ 2010-04-23  9:20 UTC (permalink / raw)


Dear Friends,

I will be very happy si quelue'un peut m'éclairer sur....

what is the relation of root_integer , universal_integer and Integer


I think people are arguing on the definiton - in fact very scientific
-
in the LM

I am getting different explanations from different sources,

what I have understood is

root_integer is a special definition type , it is not root of
anything , just implemented for the supression of ambiguities which
arise with universal_integer, so it should be considered as the base
type of universal_integer and his operators has the priority over
universal_integer . Similar situations arise in some other types too.

universal_integer is the base of all integers. it has examplaires in
integer constants but we can't use its instances. The first operative
type is Integer . The base type of Integer is universal_integer, the
first subtype of Integer is itself, then other subtypes may follow...

is it right or  am I missing something ?

Bedri Doğan Emir (Chem. & Chem.Eng) (Istanbul University)

bedri@bedriemir.com




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

end of thread, other threads:[~2010-04-27  4:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-23  9:20 integer questia bedriemir
2010-04-23 10:01 ` J-P. Rosen
2010-04-23 19:12 ` Adam Beneschan
2010-04-26 23:11 ` Robert A Duff
2010-04-27  4:55   ` AdaMagica

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