When Uniform Isn't Uniform: A Bug Hunt Tale
If you like a challenge, this is a very cute one. This bug was driving us crazy and finally hunted down after few hours of chase.
See if you can figure it out 😉.
The output of this code should be uniform distribution:
…but instead it looks like this stange distribution. WHY?