add phobos module std.halffloat ?

Robert Jacques rjacque2 at live.johnshopkins.edu
Wed Dec 19 12:16:54 PST 2012


On Wed, 19 Dec 2012 05:47:38 -0600, Iain Buclaw <ibuclaw at ubuntu.com> wrote:
> On 19 December 2012 11:30, tn <no at email.com> wrote:
>> On Wednesday, 19 December 2012 at 10:13:56 UTC, Iain Buclaw wrote:
>>> On 19 December 2012 08:55, Walter Bright <newshound2 at digitalmars.com>
>>> wrote:
>>>  On 12/19/2012 12:47 AM, Alex Rønne Petersen wrote:
>>>>  On 19-12-2012 08:35, Jacob Carlborg wrote:
>>>>>  On 2012-12-19 08:30, Walter Bright wrote:

[snip]

>> What is the difference between std.numeric.CustomFloat and this?
>>
>
> With this, there's a choice of rounding modes,  casting between float and
> integral types,  and the fact that not many people know about it?
>

*Ahem* That should be possible future support for rounding modes.  
Currently, the code paths exist but are restricted to ROUND.TONEAREST. I'm  
not sure why this is given std.math.FloatingPointControl.rounding.


More information about the Digitalmars-d mailing list