Unverified Commit 5943c6de authored by Martin's avatar Martin Committed by GitHub
Browse files

Optimize sbd_to_rshares to not use an iterative approach

We can get rid of the iterative approach by utilizing a few formulars. This makes the function signature smaller as well as improving performance drastically while increasing the precision. 
I also added a few comments to make it more obvious what I'm doing here.
parent 8447150a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment