Wednesday, January 18, 2012

What is the probability that a random 16-bit floating-point number between 1 and 0 will be exactly 0?

In this case I am using Microsoft's C# compiler and its included libraries. Obviously the random range is not inclusive of 1 but inclusive of 0.

No comments:

Post a Comment