comp.lang.ada
 help / color / mirror / Atom feed
From: johnherro@aol.com (John Herro)
Subject: Re: Truncation of FLOAT values
Date: 1996/04/22
Date: 1996-04-22T00:00:00+00:00	[thread overview]
Message-ID: <4lfqq1$bhu@newsbf02.news.aol.com> (raw)
In-Reply-To: dewar.829958772@schonberg

dewar@cs.nyu.edu (Robert Dewar) writes:
> Although [John Herro's Floor function for Ada
> 83] will typically work, Ada semantics do not
> guarantee that it will work.  X may not be a
> model number, suppose that in fact X is
> 1.99999999999999999999999999999999
> ..... [The Floor function may give a wrong
> answer in cases like this.]
     An interesting case!  In my next revision of Ada Tutor, I'll mention
this fact, and also mention the truncation attributes of Ada 95.
     I have to say that I've learned a lot hanging around comp.lang.ada,
and in many cases this newsgroup has helped me to improve my Ada Tutor
program.  Thanks to everybody!  (Needless to say, I'll announce here when
the next revision of Ada Tutor is released.)
- John Herro
Software Innovations Technology
http://members.aol.com/AdaTutor
ftp://members.aol.com/AdaTutor




  reply	other threads:[~1996-04-22  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-18  0:00 Truncation of FLOAT values Franz Kruse
1996-04-18  0:00 ` Cordes MJ
1996-04-19  0:00   ` Peter Hermann
1996-04-19  0:00   ` John Herro
1996-04-19  0:00     ` Robert Dewar
1996-04-22  0:00       ` John Herro [this message]
1996-04-22  0:00     ` Robert I. Eachus
1996-04-19  0:00   ` Robert Dewar
1996-04-20  0:00     ` Cordes MJ
1996-04-21  0:00       ` Robert Dewar
replies disabled

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