Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ rnd_on_display_rng
Function
rnd_on_display_rng
src/rnd.c:167–171 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
165
}
166
167
int
168
rnd_on_display_rng(int x)
169
{
170
return rn2_on_display_rng(x) + 1;
171
}
172
173
/* d(N,X) == NdX == dX+dX+...+dX N times; n <= d(n,x) <= (n*x) */
174
int
Callers
1
do_oname
Function · 0.85
Calls
1
rn2_on_display_rng
Function · 0.85
Tested by
no test coverage detected