[phobos] Bug 4455: Taking sqrt of an integer
David Simcha
dsimcha at gmail.com
Tue Jul 13 14:25:31 PDT 2010
What's wrong w/ adding sqrt(long) and sqrt(ulong) overloads that just
forward to sqrt(real)? Of course that assumes sqrt(float), which is causing
the problem in the first place, exists for a good reason.
On Tue, Jul 13, 2010 at 5:18 PM, Don Clugston <dclugston at googlemail.com>wrote:
> On 13 July 2010 23:00, David Simcha <dsimcha at gmail.com> wrote:
> > A related question: Why do we even have both an sqrt(float) and an
> > sqrt(real) in the first place?
>
> Don't know. Originally there was only sqrt(real).
> As long as both exist, I don't know how sqrt(int) can be fixed cleanly.
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20100713/bc7aae7c/attachment.html>
More information about the phobos
mailing list