Is it possible to generate random numbers of BigFloat type uniformly distributed in the interval [0,1)?
I mean, since rand(BigFloat) is not available it seems we have to use BigFloat(rand()) for that ending. However this is not satisfactory for me as basically we are generating random Float64 numbers that are converted to BigFloats basically by adding a long string of zeros, but in essence they are Float64 random numbers. Is this correct? If yes, is there any special library to generate random numbers with arbitrary precision?
Aucun commentaire:
Enregistrer un commentaire