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

ddambro ddambro at gmail.com
Mon Jan 12 22:10:50 EST 2009


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
-- 
View this message in context: http://www.nabble.com/Mono-and-.Net-Floating-Point-Inconsistencies-tp21428695p21428695.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list