[Mono-osx] bug in Random

Stifu stifu at free.fr
Wed May 11 08:57:00 EDT 2011


The algorithm used by MS may not have changed for years, but that doesn't
mean they made the sources public or that it'd be easy to reimplement. The
Mono team has limited resources, better spent on other things than reverse
engineering implementation details, IMO. There are many areas that are much
more of a priority.

Still, feel free to submit a patch.


Campbell wrote:
> 
> This is a total showstopper for me.  I use a seeded random number in my VB
> code and backwardly support older versions using the same algorithm, so I
> cannot change what I have.  I was extremely disappointed to find that Mono
> creates a completely different random number from the same seed.  I mean,
> what on earth does it do that for?  Microsoft's algorithm hasn't changed
> in 10 years.  I thought Mono was supposed to be compatible with .Net?!?!
> 


--
View this message in context: http://mono.1490590.n4.nabble.com/bug-in-Random-tp1548935p3514613.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list