[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#706207: gcc-4.6, gcc-4.7: invalid optimization when doing double -> int math and conversion (on big endian archs(?))



On Fri, Apr 26, 2013 at 01:04:30PM +0200, Ondřej Surý wrote:
> I don't object to this, but somehow I fail to grasp the idea that the
> result depends on architecture and optimization level.

There are negative number involved. The result is somewhere within
5.0+-$epsilon depending on order of calculation and other parameters.

> I would expect consistent results, even consistent *bad* results would be ok.

Do you have consistent results on _one_ architecture and _one_
optimization level?

Bastian

-- 
Mind your own business, Spock.  I'm sick of your halfbreed interference.


Reply to: