TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Pascal Obry <[log in to unmask]>
Thu, 23 Aug 2001 16:31:27 +0200
text/plain (27 lines)
Toshitaka KUMANO writes:
 > Pascal Obry wrote:
 > > So Float'Succ (R), could be different the first time it is called but
 > > after that it will returns always the same value.
 >
 > I can not understand why "after that it will returns always the same value".
 >
 > Could you elaborate ?

Well I thought that Float'Succ was to find the "machine number" just above
current number but was returning current number if it was a "machine number".

Maybe I'm plain wrong :) This is a part of the language I do not know very
well.

Pascal.

--

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"

ATOM RSS1 RSS2