Implementing Half Floats in D

1100110 0b1100110 at gmail.com
Wed Jan 30 15:54:38 PST 2013


On 01/30/2013 05:27 PM, Era Scarecrow wrote:
> On Tuesday, 29 January 2013 at 22:17:30 UTC, Dejan Lekic wrote:
>> Jacob Carlborg wrote:
>>> Oh, please no, not another module at the "std" level.
>>
>> +11111111
>> I can't agree more to this, Jacob...
>> Seriously people... "std.halffloat" ???
>
> I'll agree too. HalfFloats are more a special case with certain circles
> of programmers that need those. The majority of programmers (95%+) won't
> care about half floats, nor would it be needed; It would be akin to
> making std.bitop instad of core.bitop.
>
> You could HalfFloats to std.math; Right next to cos, sin and tan.
> std.mathspecial doesn't seem like it would be closely enough tied to
> make it an option.
>
> Alternatively make a std.customtypes for related misc types like this as
> they are added to phobos.

std.typecons?

Seriously,  std.type.cons, tuple, halffloat, bigint, etc...


More information about the Digitalmars-d mailing list