[Issue 13371] std.math.factorial

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Aug 27 01:53:05 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13371

--- Comment #3 from bearophile_hugs at eml.cc ---
(In reply to hsteoh from comment #1)
> auto factorial(T)(in T n) {
>     import std.mathspecial : gamma;
>     return gamma(n+1);
> }

I need exact integral values, so no thanks.

--


More information about the Digitalmars-d-bugs mailing list