std.complex

Daniel Murphy yebblies at nospamgmail.com
Mon Nov 25 21:06:35 PST 2013


"Dmitry Olshansky" <dmitry.olsh at gmail.com> wrote in message 
news:l6tfm8$2hnj$1 at digitalmars.com...
>>
>
> Can't it just check for the real part being exactly zero and special- case 
> multiplication for that?
>

There is no such thing as exactly zero in floating point.  Only -0 and +0. 




More information about the Digitalmars-d mailing list