November 18, 2010
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

November 18, 2010
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 <noreply at dsource.org> 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
> 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/20101118/3b094e05/attachment.html>