Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[src/core/Real.pm] implemented .isNaN
Same as in Beijing.
  • Loading branch information
Carl Masak committed Sep 9, 2011
1 parent 948ca74 commit 6c2607a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Real.pm
Expand Up @@ -54,6 +54,7 @@ my class Real {
method truncate(Real:D:) {
self == 0 ?? 0 !! self < 0 ?? self.ceiling !! self.floor
}
method isNaN { Bool::False }

method base(Int:D $base) {
my Int $int_part = self.Int;
Expand Down

0 comments on commit 6c2607a

Please sign in to comment.