FAQ

On Tue, Apr 13, 2010 at 4:51 PM, Mark J. Reed wrote:
Seems like both NaN <= $x and NaN >= $x should return false for any
$x, which makes me think NaN <=> $x should maybe return something
undefined?
That reminds me of a bug I wrote in C++ one time. I had overloaded
comparisons in a way that didn't make any sense and caused the STL
QuickSort to run off the end of the array. Whether that's relevant to
Perl 6, I don't know. I'm just musing.

Kyle.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 4 | next ›
Discussion Overview
groupperl6-compiler @
categoriesperl
postedApr 13, '10 at 12:43p
activeApr 13, '10 at 9:56p
posts4
users4
websiteperl6.org

People

Translate

site design / logo © 2021 Grokbase