3 ms·
He provides links for both functions, here: http://www.johndcook.com/blog/2008/12/10/fast-exponentiation/ http://www.johndcook.com/blog/2008/12/10/fast-exponent
by mcantor 16y ago
He provides links for both functions, here: http://www.johndcook.com/blog/2008/12/10/fast-exponentiation/ http://www.johndcook.com/blog/2008/12/10/fast-exponentiation... and here: http://www.codeproject.com/KB/recipes/SimpleRNG.aspx http://www.codeproject.com/KB/recipes/SimpleRNG.aspx
- drx 16y agoAh, I missed that, my bad.