Unable to explicitly cast imaginary float to a real floating-point (dmd v0.165)
David L. Davis
SpottedTiger at yahoo.com
Sat Sep 2 18:00:32 PDT 2006
Don thanks for pointing that out, but it has little use in templates I'm
afraid...the place where I'm having my issue at the moment.
Thanks again for the reply,
David L.
-------------------------------------------------------------------
"Dare to reach for the Stars...Dare to Dream, Build, and Achieve!"
-------------------------------------------------------------------
MKoD: http://spottedtiger.tripod.com/D_Language/D_Main_XP.html
"Don Clugston" <dac at nospam.com.au> wrote in message
news:ed5vsk$1qad$1 at digitaldaemon.com...
> Walter Bright wrote:
>> David L. Davis wrote:
>>> // Unable to explicitly cast a imaginary float to a real floating-point.
>>
>> r = ift * -1i;
>>
>> should do it.
>
> r = ift.im;
>
> also works.
More information about the Digitalmars-d-bugs
mailing list