[Mono-list] Mono and .Net Floating Point Inconsistencies

kuse marcus at in-process.se
Tue Jan 13 04:11:23 EST 2009




ddambro wrote:
> 
> Hello,
> 
> I have a floating point heavy simulation written in C# that I am
> interested in running in Linux.  The simulator runs fine in mono, but I've
> noticed that when I take the same binary and run it with the same inputs
> it produces different outputs if it is run on mono and .Net.  From I can
> tell, these inconsistencies are the result of slight differences in the
> floating point calculations.  It is important to my experiments that an
> arbitrary machine (running .Net or mono) can reproduce the same results as
> another arbitrary machine.  Thus, I am curious as to if this is a known
> issue and if there is any way to force .Net and mono to produce the same
> output with respect to floating point calculations.
> 
> Thanks,
> David
> 

Provide a simple test case so other people can test it and try to find whats
causing this.

-- 
View this message in context: http://www.nabble.com/Mono-and-.Net-Floating-Point-Inconsistencies-tp21428695p21431781.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list