MCPcopy Create free account
hub / github.com/crawl/crawl / get_uint64

Method get_uint64

crawl-ref/source/pcg.cc:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 uint64_t
52 PcgRNG::get_uint64()
53 {
54 return static_cast<uint64_t>(get_uint32()) << 32 | get_uint32();
55 }
56
57 /**
58 * Generate a uniformly distributed number, r, where 0 <= r < range.

Callers 3

get_uint64Function · 0.80
peek_uint64Function · 0.80
_do_seedingFunction · 0.80

Calls 1

get_uint32Function · 0.85

Tested by

no test coverage detected