Bug: Random INT in Range favors lower range

HI

I have seen this mention around and not sure if it already noted as a BUG:

Random INT in range always favors lower number.

Here is one I I tested

30634-capture.jpg

30635-capture.jpg

30636-capture.jpg

Regards

I have run a program that picks a value from -0.1 to 0.1 and over and over it heads towards to 0

30639-capture.jpg

Hi ,

I was unable to reproduce this on my end. From what I can tell, the random in range follows a standard distribution curve and does not favor any particular numbers or scale value.

Hi

I can reproduce it over and over again.

Did a video on how I did it, if I am doing something wrong please tell me.

K4cqwODDIv0

Try creating an input event (I used 1) that prints a random float between -1 and 1. You should see a degree of variation though many of the numbers will actually be between .5 and -.5 overall because there are simply more values there, which means the probability of selection is significantly higher (as one would expect along a bell curve). Is this what you see when you try it?