Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Kortelainen Mika <k125374@cs.tut.fi>
Subject: Re: gdb problem
Date: Wed, 14 May 1997 22:09:33 +0300 (EET DST)	[thread overview]
Message-ID: <199705141909.WAA28986@kaarne.cs.tut.fi> (raw)
In-Reply-To: <199705141858.MAA14718@novak.lanl.gov>

> 	
> >BTW, there is NO "%lf" print specifier in ANSI C.  The above is
> 	
> Wow, I just looked this up in my second edition of K&R and you're right.
> I never knew this.
> 
But remember to use %lf with scanf when reading data into doubles...
I'm quite sure the difference between %f and %lf is important in
there (otherwise generated code might read too few bytes of data into
a double).  I don't have K&R but another book (and my own
experience) second this.

	Mika Kortelainen

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

  reply	other threads:[~1997-05-14 19:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-14 18:58 gdb problem Richard Holmes
1997-05-14 19:09 ` Kortelainen Mika [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-05-14  2:10 Richard Holmes
read-only archive

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