generic + numeric + literals = abomination

bearophile bearophileHUGS at lycos.com
Sat Mar 27 06:28:22 PDT 2010


so:
> One thing i can think of now is adding another float literal, maybe 'r',  
> for "real"!,

See here, Unfortunately it's called "L" not "r":
http://www.digitalmars.com/d/2.0/lex.html

FloatSuffix:
	f
	F

RealSuffix:
	L

bearophile


More information about the Digitalmars-d-learn mailing list