Talk:Hamming numbers: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 69:
 
Removed all the coefficients stuff (values of i, j, and k are not needed), and updated code to not save the entire list of one million Hamming numbers so it could be run with the client VM. --[[User:Paul.miner|Paul.miner]] 23:19, 29 December 2010 (UTC)
 
 
== C off-by-one error? ==
 
There is a possible off-by-one error in this bad looking line of the second C version, I am not sure:
 
*(h = hams + ++n_hams) = values[ni];
Anonymous user