News for hackers. Stuff that matters.
Re:Higher Quality Random Floats by leiroigh on Wednesday October 18, 2023 @08:24AM (#37927615)
Fair enough, if a user asks for a random float between [0, 1e-38f] then subnormals are expected.

I was just thinking about the (0,1) case, under the mistaken assumption that one could map it to (a,b) via multiplication/addition, but you're right -- if you want (a,b) perfectly () then it's not obvious to me.

() up to inaccuracies of cosmologically negligible scale

There are no comments on this comment yet.