From: Bao C. H. <ba...@se...> - 2001-08-14 01:08:55
|
gcc-2.97 libc-2.2.2.so kernel 2.4.5 Thanks. Bao > -----Original Message----- > From: lin...@li... > [mailto:lin...@li...]On Behalf Of > kaz Kojima > Sent: Monday, August 13, 2001 4:41 PM > To: lin...@li... > Subject: [linuxsh-dev] Re: Floating point problem > > > "Bao C. Ha" <ba...@se...> wrote: > > I am having problems with the following code. It works fine > > in an x86 system. The problem is at the minus sign of the > > datum. The scanf is doing something weird. Changing "%f" > > to "%lf" in the scanf statement makes it work again. > > I can't reproduce your problem on my platforms. It works with > gcc-2.97(20001120), gcc-3.0 and even broken gcc-3.1, though > my environment will differ from yours in libraries. > Which version of glibc are you using? If it was compiled by > yourself, which gcc was used for? > > kaz > > _______________________________________________ > linuxsh-dev mailing list > lin...@li... > http://lists.sourceforge.net/lists/listinfo/linuxsh-dev > |