Recollections icon indicating copy to clipboard operation
Recollections copied to clipboard

Implement nth root with precision decimals in Vyper Contract

Open andytudhope opened this issue 5 years ago • 2 comments

Use the amazing library here as inspiration for a more general nth root calculation: https://github.com/LimeChain/bonding_mathematics/blob/master/contracts/Math/SQRT_HFP.py

Implement a precise nth root function for all calculations of votes_minted such as this one (Also lines 69, 154, and 235).

andytudhope avatar Mar 18 '19 12:03 andytudhope

Hi @andytudhope, I am going to try implementing newton nth root on vyper. Where I can write to you personally ?

bakasura980 avatar Mar 28 '19 14:03 bakasura980

andy[at]status[dot]im 👍

andytudhope avatar Mar 29 '19 07:03 andytudhope