A related question: Why do we even have both an sqrt(float) and an sqrt(real) in the first place?
On Tue, Jul 13, 2010 at 4:58 PM, David Simcha <[email protected]> wrote: > I just submitted a bug report (Bug 4455; > http://d.puremagic.com/issues/post_bug.cgi) because std.math doesn't let > you take the square root of an integer w/o an explicit cast. This has been > a subtle annoyance to me for ages. Is it ok if I just fix this, or is there > some reason I'm not aware of (i.e. other than a simple oversight) why sqrt() > doesn't already forward integers to sqrt(real)? >
_______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
