Unable to explicitly cast imaginary float to a real floating-point (dmd v0.165)
Don Clugston
dac at nospam.com.au
Wed Aug 30 23:33:49 PDT 2006
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