What do you generally do when you want random float values? I usually use float(rand())/float(RAND_MAX) to get a value between 0.0 and 1.0, but that seems unnecessarily cumbersome. There ought to be something in the standard libraries for that; personally I'd call it "frand()" (short for "float rand"). I'll probably just add that to my own little library of short generic functions.
