comp.lang.ada
 help / color / mirror / Atom feed
From: John McCabe <john@assen.demon.co.uk>
Subject: Re: An interesting object lesson (Ada vs C)
Date: 1998/04/30
Date: 1998-04-30T00:00:00+00:00	[thread overview]
Message-ID: <6i9opv$tqd@gcsin3.geccs.gecm.com> (raw)
In-Reply-To: 354428B4.674A@easystreet.com


Al Christians <achrist@easystreet.com> wrote:

>If x didn't get changed,  howcome the answers for arctan are so
>different?

x is a long double and is displayed incorrectly by the printf %g option. 
Why do you think that the answer, which is also a long double, is so 
different?

-- 
Best Regards
John McCabe







  reply	other threads:[~1998-04-30  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-26  0:00 An interesting object lesson (Ada vs C) Robert Dewar
1998-04-26  0:00 ` Andi Kleen
1998-04-27  0:00   ` Samuel Tardieu
1998-04-26  0:00 ` Jonathan Guthrie
1998-04-26  0:00   ` Al Christians
1998-04-30  0:00     ` John McCabe [this message]
1998-04-26  0:00   ` Robert Dewar
1998-05-01  0:00     ` Jonathan Guthrie
1998-04-26  0:00   ` Robert Dewar
1998-04-29  0:00     ` Keith Thompson
1998-05-01  0:00     ` Jonathan Guthrie
1998-04-27  0:00 ` Aaro Koskinen
replies disabled

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