[Issue 5174] -x ^^ 0 returns -1
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Nov  8 02:15:30 PST 2010
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=5174
Lars T. Kyllingstad <bugzilla at kyllingen.net> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at kyllingen.net
         Resolution|FIXED                       |INVALID
--- Comment #3 from Lars T. Kyllingstad <bugzilla at kyllingen.net> 2010-11-08 02:14:20 PST ---
The negation and exponentiation operators have the same relative precedence in
D as in mathematics.  I would be extremely surprised if I wrote -2^^2 and got
4.
Correcting the resolution of this bug, since nothing was fixed.
-- 
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