On Tuesday, 29 January 2013 at 22:49:02 UTC, Joseph Rushton Wakeling wrote:
On 01/29/2013 11:27 PM, Iain Buclaw wrote:
I'm sure this was mentioned before, but what does halffloat have over
std.numeric.CustomFloat?

"These formats are for storage only; all operations on them are performed by first implicitly extracting them to real first."

... whereas HalfFloat extracts to float, and so should be faster, which is probably one of the main goals here.

But since std.numeric was mentioned, why not add HalfFloat there rather than its own separate module?


The discussion we had on github agreed that std.halffloat isn't a good place.
But OTOH std.numeric needs a complete overhaul, it's a mess.
It would be a mistake to throw it in there.

Reply via email to