? main.d(118): function std.math.pow called with argument types: (double,uint) matches both: std.math.pow(real,uint) and: std.math.pow(real,real) Also, I use pow(x,2U). Is this the correct function to use or is there a dedicated x*x function?