Hex floats

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Feb 15 13:33:22 PST 2012


On Wed, Feb 15, 2012 at 01:24:13PM -0800, H. S. Teoh wrote:
[...]
> This is ambiguous, since you could interpret 0xFFp0F as either 0xFFp0
> followed by the suffix 'F', or 0xFFp0F with an exponent of 0x0F no
> suffix.
[...]

Actually, nevermind that. I misread the specs; the exponent is always in
decimal, not hex, so this case is actually unambiguous.


T

-- 
In theory, there is no difference between theory and practice.


More information about the Digitalmars-d-learn mailing list