Skip to content

Commit

Permalink
Fix Num.gist so it doesn't add unnecessary "e0"s.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Jan 10, 2012
1 parent 1c4a771 commit 22d2c18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/CORE.setting
Expand Up @@ -671,6 +671,7 @@ my class Num does Real {
our constant i = Q:CgOp { (complex_new {0} {1}) };
method Num() { self }
method FatRat() { self.Rat(0).FatRat }
method gist() { self.Str }
method perl() {
if defined(self) {
my $num = self.Str;
Expand Down

0 comments on commit 22d2c18

Please sign in to comment.