diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-12-10 12:09:00 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2012-12-10 12:16:39 -0500 |
commit | 805852854e43267041e1e8670723ed199ff7946a (patch) | |
tree | 83414e2aed8868dd20857839f00b73c6f01f2525 /Tools/CodeGen/CodeGenCactus.m | |
parent | 0266e182a71541183231d9cfc148e2509f144ddd (diff) |
Expand Pi and E to their numerical values
Diffstat (limited to 'Tools/CodeGen/CodeGenCactus.m')
-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, |