Implement UniformSampler for Wrapping<T>#467
Conversation
1e35a86 to
b6b8e3f
Compare
|
r @vks? |
|
You really like writing code, don't you? 😄 I just wonder whether this will actually be useful to many people, same as how you didn't like the updated |
|
What is the use case of this? I can't really think of a reason why you want want to sample from a wrapped range. |
|
Since users don't normally need to look at the impl docs when using |
I guess I got carried away a bit when implementing For a wrapping type I think it makes sense to be able to sample from a range that wraps around, but no, I can't see many uses. In a way it would be "sample from the entire range of the type, except between [high, low)". |
This is the commit from #436 that we delayed until after the 0.5 release.