Hex floats

Don Clugston dac at nospam.com
Thu Feb 16 04:04:05 PST 2012


On 15/02/12 22:24, H. S. Teoh wrote:
> What's the original rationale for requiring that hex float literals must
> always have an exponent? For example, 0xFFi obviously must be float, not
> integer, so why does the compiler (and the spec) require an exponent?

The syntax comes from C99.


More information about the Digitalmars-d-learn mailing list