Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed May 22, 2016
1 parent 2fe7762 commit 947ed63
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/Num.pm
Expand Up @@ -40,8 +40,6 @@ my class Num does Real { # declared in BOOTSTRAP
return self;
}

(self == Inf || self == -Inf) && fail("Cannot coerce {self} to a {$fat ?? 'FatRat' !! 'Rat'}");

my Num $num = self;
$num = -$num if (my int $signum = $num < 0);
my num $r = $num - floor($num);
Expand Down

0 comments on commit 947ed63

Please sign in to comment.