Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_uint64
Function · 0.80
peek_uint64
Function · 0.80
_do_seeding
Function · 0.80
Calls
1
get_uint32
Function · 0.85
Tested by
no test coverage detected