[phobos] phobos commit, revision 1833

Daniel Murphy yebblies at gmail.com
Wed Aug 11 23:40:17 PDT 2010


Do we really want the sqrt of a integer to return a real?
I would expect it to return floor(sqrt(n)), in the same way that integer
division does.
What do other people think/expect?

Daniel.

On Thu, Aug 12, 2010 at 12:43 PM, dsource.org <noreply at dsource.org> wrote:

> phobos commit, revision 1833
>
>
> user: dsimcha
>
> msg:
> Bug 4455:  Taking the sqrt of an integer shouldn't require an explicit
> cast.
>
> http://www.dsource.org/projects/phobos/changeset/1833
>
> _______________________________________________
> 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/20100812/4b4d5fe5/attachment.html>


More information about the phobos mailing list