Any good advanced Math Libraries? (looking for square root, ln, cumulative distributions)

My recently published advanced math library PRBMath offers all the functions that you should need: abs, avg, ceil, div, exp, exp2, floor, frac, gm, inv, ln, log10, log2, mul, pow, and sqrt.

It has several advantages over ABDK: it’s more intuitive (operating with decimal numbers instead of binary), slightly more gas efficient and it’s released under WTFPL (Do What the Fuck You Want to Public License).

P.S. I know that PRBMath is already listed in List of Solidity libraries in the wild, but I thought to chime in on this post as well to ease the search for posterity. PRBMath is an advanced math library, as compared to most libraries mentioned in the wiki.

4 Likes