Fixed the problem.. there is a floating point problem with march=pentium4 instead of -march=pentium4
used -mcpu=pentium4 Submitted bug to gentoo to prevent builds on php going through with march=pentium4 Josh. On March 28, 2003 11:51 am, Joshua Moore-Oliva wrote: > This seems to be a gentoo//pentium4 problem.. I've tried reporting to php > but they say they can't reproduce the problem.. > > the only other place I've seen anyone else have this problem is here > > http://forums.gentoo.org/viewtopic.php?t=38470 > > basically, the problem is liek this > > echo sprintf( "%.2f", 10.75 ); > > pritns 0.00 > > > Also, this problem ONLY occurs on my pentium4 machine, NOT my athlon.. > > I'm trying to reinstall my pentium4 system from scratch right now.. I was > using a gentoo-sources but I'm going to try and use vanill-sources this > time. > > Does anyone have ANY idea at all, even the vaguest of ideas, that could > hlep me? > > In addition, in straight C printf( "%.2f", 10.74 ); correctly prints 10.75 > > Josh. > > -- > [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
