Talk:Rnz

From NetHackWiki
Revision as of 19:53, 30 August 2012 by RedFeather (talk | contribs)
Jump to navigation Jump to search

I think I've partially figured out the idea behind rnz. If you call rnz(x), then:

one eighth of the time, you'll get a result less than 0.5x
two eighths of the time, you'll get a result less than 0.6x
three eighths of the time, you'll get a result less than 0.75x
four eighths of the time, you'll get a result less than x
five eighths of the time, you'll get a result less than 4x/3
six eighths of the time, you'll get a result less than 5x/3
seven eighths of the time, you'll get a result less than 2x
eight eighths of the time, you'll get a result less than 10x

--RedFeather (talk) 19:52, 30 August 2012 (UTC)