diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-12-10 12:09:00 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2012-12-10 13:01:28 -0500 |
commit | aa0b49ea3eca0f253e3eaf835e8f79629db82308 (patch) | |
tree | 57a0a74fe3f2ddc3d91509d0beaea2eaa2fa5721 /Tools | |
parent | 008feafaaa39f0cfc81258191994bdc1a6ee646e (diff) |
Expand Pi and E to their numerical values
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/CodeGen/CodeGenCactus.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/CodeGen/CodeGenCactus.m b/Tools/CodeGen/CodeGenCactus.m index 2e73554..194cf50 100644 --- a/Tools/CodeGen/CodeGenCactus.m +++ b/Tools/CodeGen/CodeGenCactus.m @@ -671,6 +671,8 @@ DefFn[ x_Integer /; Abs[x]>10^10 :> 1.0*x, (* generate sufficient precision *) x_Rational :> N[x,30], + Pi -> N[Pi,30], + E -> N[E,30], kneg[x_] -> -x, |