WebDrake/phobos — pull request #5 by jerro (2012-12-25 19:32:50+00:00)
Title: More corrections

Renamed `isPowerOfTwo` to `isPow2`, moved it to `std.math` and made it public. It only works for integers, but it would probably make sense to add a floating point version later.

Renamed `fastUniformFloat` to `uniform01` and made it public. Also fixed a bug in it - now it always returns less than one.