Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSimplify _rand_exp #7
Open
Comments
|
|
|
Then the comment above the function should be fixed/improved I think :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current
_rand_expis currently looking suboptimal:Am I misreading the code and the comment, or is it equivalent to
int(random.expovariate(0.5))?