Complete floating point literals
bearophile
bearophileHUGS at lycos.com
Sun Jul 10 11:03:37 PDT 2011
Daniel Murphy:
> If the only reason for removing 1.f and 1.L is to aid ufcs
It's not the only reason, it's also a special case of the rule that asks for a zero.
> we should also get rid of leading underscores after the decimal
> point. eg 1._3 also conflicts with ufcs.
I see (this doesn't look nice regardless of UFCS, but changing it introduces a special case in the use of the underscore).
> And don't forget hex floating point literals.
Right.
Bye,
bearophile
More information about the Digitalmars-d
mailing list