On Monday, 28 January 2013 at 23:58:40 UTC, Walter Bright wrote:
On 1/28/2013 3:30 PM, Era Scarecrow wrote:
On Monday, 28 January 2013 at 23:11:11 UTC, Walter Bright
wrote:
http://www.drdobbs.com/cpp/implementing-half-floats-in-d/240146674
Anyone care to do the reddit honors?
[quote]
and crushed back down to 16 bytes for storage.
[/quote]
Should be bits. Otherwise it looks really well done.
thank you. Sorry that didn't get caught in review!
"HalfFloat h = hf!1.3f;"
Maybe you could also demonstrate that it's possible to implement
another literal syntax?
HalfFloat h = 1.3.hf;
some people will prefer that for sure.