On 2012-27-04 07:10, Walter Bright <[email protected]> wrote:
* OpCmp returning an int is fugly I r sadHow else would you return a 3 state value?
enum Comparison {
Before = -1,
Same = 0,
After = 1,
Unordered = NaN,
}
I'm not saying it should be done, but it would be more readable
(and more cmoplex to write).
--
Simen
