Hex floats

H. S. Teoh hsteoh at quickfur.ath.cx
Fri Feb 17 10:37:07 PST 2012


On Fri, Feb 17, 2012 at 02:41:10PM +0100, Timon Gehr wrote:
> On 02/17/2012 10:45 AM, Don Clugston wrote:
> >On 16/02/12 17:36, Timon Gehr wrote:
[...]
> >>static assert(is(typeof(7i)==idouble));
> >
> >Ooh, that's bad.
> >
> 
> Indeed. But the implementation of complex and imaginary numbers is
> pretty much broken in the front-end anyway. For example, double and
> idouble are type combined to double iirc.

Hmph. So complex literals are deprecated, right? So I should disable
them in my lexer? I assume Phobos doesn't use them anymore?


T

-- 
Without geometry, life would be pointless. -- VS


More information about the Digitalmars-d-learn mailing list