If we have a general interval [a,b], we can still use these random number generators through a change of variables z=a+(b−a)x, with x in the interval x∈[0,1].