DecimalFloat

Unknown W. Brackets unknown at simplemachines.org
Sat Mar 4 19:48:34 PST 2006


I'm sorry, I was really reporting the problem with ._1, etc. but I 
misrepresented what I meant; this is only better.  Perhaps it really 
should be:

DecimalFloat:
	Decimal .
	Decimal . DecimalDigits
	Decimal . DecimalDigits DecimalExponent
	. Decimal
	. Decimal DecimalExponent
	Decimal DecimalExponent

Since really, "_1.1" shouldn't compile either.  Sorry about that.

This seems to more or less fit the rules DMD actually follows currently.

-[Unknown]


> I believe this is incorrect.  It should be, by my reasoning:
> 
> DecimalFloat:
>     DecimalDigits .
>     DecimalDigits . DecimalDigits
>     DecimalDigits . DecimalDigits DecimalExponent
>     . Decimal
>     . Decimal DecimalExponent
>     DecimalDigits DecimalExponent



More information about the Digitalmars-d-bugs mailing list