1 min readOct 18, 2019
In Solidity, how would you implement a fractional power algorithm like square root? I found a suggestion on stackoverflow but it looked fairly gassy to implement with looping which I always try to avoid in case cases cause transactions to run out of gas.