Article View: gnu.gcc.help
Article #41520Re: bug in gcc 2.7.2 for HP-UX-9 (HP 9000)
From: Kurt E. Huhner
Date: Fri, 15 Mar 1996 00:00
Date: Fri, 15 Mar 1996 00:00
21 lines
1209 bytes
1209 bytes
Jan Nijtmans wrote:
>
> Why does the following program not do what I expect on HP-UX-9
> printf("f1(1.0) = %f\n",f1(1.0));
> printf("f2(1.0) = %f\n",f2(1.0));
I dont know if this is a typo, BUT, to print doubles use %lf...
--
===========================================================================
Kurt E. Huhner
Sr. Software Engineer E-Mail: khuhner@ncs-ssc.com
Nation Computer Services, Inc. Voice: (601) 689-8100
http://www.ncs-ssc.com Fax: (601) 689-8130
Stennis Space Center, MS
===========================================================================
Technical Details
Message-ID:
<3149C760.52DC@datasync.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<31497DA8.2C20@nici.kun.nl>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f0ac9f32a033e35f,start X-Google-Attributes: gid11318c,public From: "Kurt E. Huhner" <khuhner@datasync.com> Subject: Re: bug in gcc 2.7.2 for HP-UX-9 (HP 9000) Date: 1996/03/15 Message-ID: <3149C760.52DC@datasync.com> X-Deja-AN: 142826375 references: <31497DA8.2C20@nici.kun.nl> content-type: text/plain; charset=us-ascii organization: Nation Computer Services, Inc. mime-version: 1.0 newsgroups: gnu.gcc.help x-mailer: Mozilla 2.0GoldB1 (Win95; I)