https://d.puremagic.com/issues/show_bug.cgi?id=11652

           Summary: No numerical ^^ complex operation in std.complex
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Joseph Rushton Wakeling <[email protected]> 
2013-11-30 08:42:53 PST ---
std.complex supports exponentiation of the form complex ^^ numeric but lacks
support for numeric ^^ complex.

Example:

    auto rec = 2.0 ^^ complex(1.1, 2.2);

results in

    Error: incompatible types for ((2.00000) ^^ (complex(1.1, 2.2))): 'double'
and 'Complex!double'

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to