On Thu, Jan 29, 2009 at 2:35 PM, Saaa <[email protected]> wrote: > 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?
You don't have to cast anything actually. floats and doubles are implicitly convertible to real. This isn't Pascal.
