rand can extract numbers from 0 to 230.
30If you look at the percentage of the numbers you take out, About 3% is between 0 and 224, and the remaining 97% is between 225 and 230 When you take the log, it's normal to get almost 25 to 30.
242530(225 / 230 = 2-5 = 1/32 = 0.03125 = 3.125%)
2530-5
© 2024 OneMinuteCode. All rights reserved.