I noticed that there is no logarithm function in std.math that allows for any base. Seeing how it would be simple to make one, I did: [code] import std.math; real log(real b, real n) { return std.math.log(n)/std.math.log(b); } [/code]