pre-calculated value of e. It’s equal to e_iter(15)
.
It returns an approximate value of E.
It gets more and more accurate as k
gets bigger.
It returns e^x
. It gets more accurate as iter
gets bigger.
TODO: It doesn’t work if x
is greater than 2^31
.
pre-calculated value of ln2. It’s equal to ln2_iter(11)
.
It returns an approximate value of ln(2).
It gets more and more accurate as k
gets bigger.
For now, k
should be less than 200.
It returns ln(x)
. It gets more accurate as iter
gets bigger. It panics when x
is less than 0.
pre-calculated value of pi. It’s equal to pi_iter(7)
.
It returns an approximate value of PI.
It gets more and more accurate as k
gets bigger.
For now, k
should be less than 255.