[Issue 6560] Exponentiation operator ^^ doesn't work for complex numbers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 26 17:22:25 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6560


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc
            Version|D1 & D2                     |D1


--- Comment #1 from bearophile_hugs at eml.cc 2011-08-26 17:22:23 PDT ---
(In reply to comment #0)

> I think this is so basic that it's absence deters me away from using D :-(

Built-in complex numbers are going to be deprecated in D2. In D2 you are
supposed to use the std.complex module, that supports the ^^ operator too:

https://github.com/D-Programming-Language/phobos/blob/master/std/complex.d#L324

So I restrict this enhancement request to D1 language only. If you are not
interested in D1 language then I suggest you to close this enhancement request.

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


More information about the Digitalmars-d-bugs mailing list