Is Float.random(in:)'s implementation or documentation wrong?

The implementation should change to match the documentation (this is on my list of things to address for 5.0). The existing implementation is good-enough and at least as good as what most other languages provide, but we can and should do better.

9 Likes