Uniform [0,1] value

Hello,

I would like to know if exists a function (like random() in python) which return a uniform value between [0,1].

If this doesn’t exist in OSL, is there any way I can achieve it? (I am interested in having this value in each rendered point, so I think that with nodes is not possible to do it).

Thanks!