random: add helpers for random numbers with given floor or range