Hey guys,
I was wondering about this little math problem of mine (which is also something I've come across several times but never had an answer to).
Given is a floating point variable between 0 and 1 evenly distributed (linearly).
However I would like this variable to be distributed logarithmically so that I have more precision in the lower region towards zero.
I've played around with using the log functions which gives me the nice distribution I want however I have no idea how to make it so that it's still between a min and max number, [0,1] in my case.
Any help would be appreciated :)