
Contract tooling
PRBMath
Smart contract libraries & utilities
Solidity · Gas efficient · Developer experience · Foundry
PRBMath is a smart contract library that adds support for fixed-point types and advanced math functions like logarithms and exponentials in Solidity. Operating with 18-decimal numbers, PRBMath is at the same time gas efficient and user-friendly.