You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser.
-
R
This is what I came up with. It doesn't work with fractionals, though.
XP = 100 * ((CR+1)%2+2)*2^(CR+CR%2)*0.5