Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
steal more precises definitions of pi and e from niecza++
  • Loading branch information
moritz committed Mar 3, 2012
1 parent b8a20ce commit 141cd63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Num.pm
Expand Up @@ -209,8 +209,8 @@ my class Num {
}
}

my constant pi = 3.14159265e0;
my constant e = 2.71828183e0;
my constant pi = 3.14159_26535_89793_238e0;
my constant e = 2.71828_18284_59045_235e0;

multi prefix:<++>(Num:D \$a is rw) { # XXX
$a = nqp::p6box_n(nqp::add_n(nqp::unbox_n($a), 1))
Expand Down

0 comments on commit 141cd63

Please sign in to comment.