Implementing Half Floats in D

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Jan 31 09:05:49 PST 2013


On 1/31/13 10:38 AM, Don wrote:
> The basic problem is that there are hundreds of potential numeric
> algorithms and data structures of equal importance to these ones. In
> fact, the total number of mathematical algorithms is probably a
> substantial fraction of the total algorithms in computer science!
>
> Even a module which contained only FFT, could be quite large, once it
> included all the important related transforms.

A possible solution would be to make std.numeric a knot for several 
others, or convert it to a package.

> I'm not sure that we can solve this without addressing the high-level
> question: What is the scope of Phobos?
>
> How big will it eventually get? Twice its current size? Ten times? A
> hundred times?

I think the current trend is to go for large libraries.

> Both SmallPhobos and LargePhobos are reasonable, but we do have to pick
> one. Currently we have aspects of both approaches, but they aren't
> compatible.

LargePhobos. Agreed that we need to package-ize some of the current modules.


Andrei




More information about the Digitalmars-d mailing list