Re:Libsodium 1.0.0 released
by lmm on Thursday September 25, 2014 @03:12AM
(#8366008)
It should be faster than dividing. It will give you a uniform distribution over some (but not all) of the representable values between 0.0 and 1.0 (there are as many representable values between e.g. 0.25 and 0.5 as there are between 0.5 and 1.0, so a uniform distribution over representable values probably isn't what you want), which is probably as good as you can do.
[ Parent
| on HN ]
There are no comments on this comment yet.