Most of the std.math functions take reals and when I have a float or a double I always cast them to real to make it fit. Should I instead use to! here as well?