add phobos module std.halffloat ?

ponce spam at spam.org
Wed Dec 19 02:22:05 PST 2012


On Wednesday, 19 December 2012 at 07:30:54 UTC, Walter Bright
wrote:
> https://github.com/D-Programming-Language/phobos/pull/1018/files


If that ever helps, I implemented this fast conversion
ftp://www.fox-toolkit.org/pub/fasthalffloatconversion.pdf for a
half wrapper here:
https://github.com/p0nce/gfm/blob/master/math/half.d
It's woefully untested though.

In 3D graphics efficiently converting float to half can speed up
vertex submission.


More information about the Digitalmars-d mailing list