Closed ChamzasKonstantinos closed 1 year ago
function RandomInt() returns a value in [lower_bound, upper_bound] instead of [lower_bound, upper_bound) as mentioned here.
It's an easy fix, but the question is, do we fix the documentation or the function? I propose the function since it works better with vector indexing.
Sure, we should fix the function to return in the [) interval rather than [].
function RandomInt() returns a value in [lower_bound, upper_bound] instead of [lower_bound, upper_bound) as mentioned here.
It's an easy fix, but the question is, do we fix the documentation or the function? I propose the function since it works better with vector indexing.