Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Re:Hmm (Score 1) 485

It constructs filenames with certain numbers; if the number is outside a certain range (0 to 9999) it uses a default, but if not, it makes a file named demo#### where #### is the number left-filled with zeros. It does this by using a common rounding trick (based on ints being truncated).

It only generates the filenames deterministically from information given it, so its just a utility function for constructing names.

Slashdot Top Deals

Put not your trust in money, but put your money in trust.

Working...