--- Comment #6 from Andrei Alexandrescu <and...@metalanguage.com> 2010-01-31
10:33:45 PST ---
(In reply to comment #5)
> (In reply to comment #4)
> > Floating-point exponents means the result type must be complex, which at
> > least
> > for the moment complicates migrating to a library-only implementation of
> > complex numbers.
> No, it only means that some results will be NaN's. :)
> But yes, complex result should also be supported, this can be determined when
> left operand (base) is also complex (but then in many cases imaginary parts
> will be 0, which is waste).
-1.0^^0.5 has complex type.
> BTW. I don't see anything wrong with compiler implemntation of complex
> Actually i see them supperior to the library-only implemntation.
In that case it would be great if you came forth with the appropriate
arguments. We just convinced ourselves that superiority goes the other way
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------