Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
adrianN
on April 3, 2022
|
parent
|
context
|
favorite
| on:
Boycott Numerical Recipes (2007)
Choosing a random float is not the same as choosing a random number.
morelisp
on April 3, 2022
[–]
What applications call for a "random float in [0,1]" with distribution defined in the space of fp representation and not the usual kind?
adrianN
on April 3, 2022
|
parent
[–]
For example you when you want to do fuzzing of some algorithm that uses floats, a random float might come in handy.
morelisp
on April 3, 2022
|
root
|
parent
[–]
In [0,1]?
(I consider this answer nearly disingenuous. It's obviously not what OP was talking about.)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: