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?

Very nice. I learnt quite a bit there.
btw:
"In order to restrict it to only accepting floats, turn it into a template and check the type with static if:" - you actually use a static assert. But while we're at it: Why *don't* you use a signature constraint with if? I feel it would be more fitting to constrain the constructor usage.

Stephan

Reply via email to