Awesome.  Now I can get rid of that lame ad-hoc D2 port of
tango.math.gammaFunction in dstats.  One small note, though:  All those hard
coded constant arrays will trigger heap allocations and make performance
terrible due to Bug 4298 (http://d.puremagic.com/issues/show_bug.cgi?id=4298).


Unless this is getting fixed very soon, it's probably a good idea to stick
the workaround in, which is to make the array static if it's declared in a
function and to explicitly provide a compile-time size, i.e. immutable
real[2] foo = [1.0L, 2.0L] instead of immutable real[] foo = [1.0L, 2.0L].

On Thu, Nov 18, 2010 at 2:55 PM, dsource.org <[email protected]> wrote:

> phobos commit, revision 2176
>
>
> user: Don Clugston
>
> msg:
> Added std.mathspecial. Only 14 functions are included at this stage.
>
> http://www.dsource.org/projects/phobos/changeset/2176
>
> _______________________________________________
> phobos mailing list
> [email protected]
> http://lists.puremagic.com/mailman/listinfo/phobos
>
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to