This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: arithmetic problem


Hard to believe though it may be different behaviour on linux has been
reported previously and was actually justified. see archives.

				-Kip 

					

On Tue, 30 Nov 1999 N8TM@aol.com wrote:

> In a message dated 11/30/99 7:55:05 AM Pacific Standard Time, 
> c5016839@ls3510.wdf.sap-ag.de writes:
> 
> > it would really be nice if Linux would behave like
> >  the other platforms (tested AIX, Solaris, HPUX) by assigning the same
> >  value.
> I suppose that you are using some version of gcc on linux (and also on the 
> Unix versions?), but do you mean that the same version of gcc gives different 
> results according to whether you are running linux or a proprietary OS on the 
> same machine?  That is difficult to believe.  Otherwise, you can hardly blame 
> linux for something which most likely depends on the characteristics of the 
> unspecified hardware you are running on.  Even if you are running linux on a 
> i686 processor, you should be able to get it to behave quite similar to the 
> others if you choose the rounding precision appropriately, if that is your 
> goal.
> 
> Tim
> tprince@computer.org
> 
> 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]