Complete floating point literals

Steven Schveighoffer schveiguy at yahoo.com
Mon Jul 11 07:32:45 PDT 2011


On Sun, 10 Jul 2011 13:51:10 -0400, Daniel Murphy  
<yebblies at nospamgmail.com> wrote:

> "bearophile" <bearophileHUGS at lycos.com> wrote in message
> news:ivcg7j$ooj$1 at digitalmars.com...
>> Jacob Carlborg reminds that 1.f conflicts with the UFCS, I think the
>> suggestion by Daniel Murphy of the special case is not worth it.
>>
>
> If the only reason for removing 1.f and 1.L is to aid ufcs we should also
> get rid of leading underscores after the decimal point.  eg 1._3 also
> conflicts with ufcs.

I can see no possible use case for 1._3

The _ is typically used to indicate a separator, the decimal place already  
is one.

So yeah, get rid of that too.

-Steve


More information about the Digitalmars-d mailing list