diff options
author | sbrandt <sbrandt@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2013-02-25 16:54:00 +0000 |
---|---|---|
committer | sbrandt <sbrandt@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2013-02-25 16:54:00 +0000 |
commit | 4730bc03f50318da9432bbd17f7c9cc91de1eb21 (patch) | |
tree | 740a46e73a289157f7cc45e281ecfdfb686977e5 /src/piraha/size.py | |
parent | f9f8fb05dc03fa339e37a04608009f62e4fcc3b0 (diff) |
Change the parameter parser to Piraha
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4960 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/piraha/size.py')
-rw-r--r-- | src/piraha/size.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/piraha/size.py b/src/piraha/size.py new file mode 100644 index 00000000..e81a2214 --- /dev/null +++ b/src/piraha/size.py @@ -0,0 +1,7 @@ +fac = 1+1/4.+1/16. +diff = 1+fac - fac**3 +print diff +init = 16 +nextv = init + (init>>2) + (init>>4) +print nextv +print 1.0*nextv/init |