MCPcopy Create free account
hub / github.com/catboost/catboost / ToRandReal4

Function ToRandReal4

util/random/common_ops.h:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 }
30
31 constexpr double ToRandReal4(const ui64 x) noexcept {
32 return double(x * (double)(1.0 / 18446744073709551616.0L));
33 }
34
35 template <class T>
36 static inline ui64 ToRand64(T&& rng, ui32 x) noexcept {

Callers 1

GenRandReal4Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected