March 08, 2010 [Issue 3902] New: Definition of opCmp | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=3902 Summary: Definition of opCmp Product: D Version: 2.041 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: www.digitalmars.com AssignedTo: nobody@puremagic.com ReportedBy: Norbert@Nemec-online.de --- Comment #0 from Norbert Nemec <Norbert@Nemec-online.de> 2010-03-08 14:42:44 PST --- Strangeness in the definition of opCmp: http://www.digitalmars.com/d/2.0/operatoroverloading.html#compare Mathematically the following are equivalent a < b <=> b > a But the definition seems to swap a < b into b >= a DMD seems to work correctly, though. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 10, 2010 [Issue 3902] Definition of opCmp | ||||
---|---|---|---|---|
| ||||
Posted in reply to Norbert Nemec | http://d.puremagic.com/issues/show_bug.cgi?id=3902 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug@yahoo.com.au Resolution| |FIXED --- Comment #1 from Don <clugdbug@yahoo.com.au> 2010-04-09 19:24:21 PDT --- Fixed DMD2.042. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation