Implementing Half Floats in D

TommiT tommitissari at hotmail.com
Tue Jan 29 04:40:30 PST 2013


On Monday, 28 January 2013 at 23:11:11 UTC, Walter Bright wrote:
> http://www.drdobbs.com/cpp/implementing-half-floats-in-d/240146674

In the heat of coding, I think, the end-user is quite likely to 
make the honest mistake of writing:

HalfFloat h = HalfFloat(1.3f);

...when he should be writing:

HalfFloat h = hf!1.3f;



More information about the Digitalmars-d mailing list