Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
adrianN
4y ago
0 comments
Save
Share
Choosing a random float is not the same as choosing a random number.
0 comments
3 comments · 1 top-level
top
newest
oldest
morelisp
4y ago
· 2 in thread
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
OP
4y ago
For example you when you want to do fuzzing of some algorithm that uses floats, a random float might come in handy.
morelisp
4y ago
In [0,1]?
(I consider this answer nearly disingenuous. It's obviously not what OP was talking about.)
j
/
k
navigate · click thread line to collapse