5 Mar
2015
5 Mar
'15
6:21 p.m.
On 05 Mar 2015, at 19:01, John Maddock
It occurs to me
that an equivalent to independent_bit_engine but for floating point types could be much more efficient - especially in the binary floating point case. It's called generate_canonical. Ah, good.
However, I don't see it in the docs anywhere?
Ah... it's not listed in the docs Jamfile so it's not built in. My guess is that no one else has noticed it either?
There is also a std::generate_canonical in the C++11 standard, those descriptions and specs might also help. Eg http://en.cppreference.com/w/cpp/numeric/random/generate_canonical