Releases: PaulRBerg/prb-math
Releases · PaulRBerg/prb-math
v1.1.0 [YANKED]
Added
- New convertor functions
fromInt
and toInt
in PRBMathSD59x18.sol
.
- New convertor functions
fromUint
and toUint
in PRBMathUD60x18.sol
.
- New function
mulDivSigned
in PRBMathCommon.sol
.
- New function
pow
in PRBMathSD59x18.sol
and PRBMathUD60x18.sol
Changed
- Rename the previous
pow
function to powu
.
- Speed up
exp2
by simplifying the integer part calculations.
- Use the fixed-point format in NatSpec comments.
Fixed
- Minor typos in NatSpec comments.
v1.0.5
Added
- Link to StackExchange answer in
exp2
NatSpec comments.
Changed
- Speed up the
exp2
function in PRBMathCommon.sol by simplifying the integer part calculation.
- Use
SCALE
instead of the 1e18 literal in PRBMathCommon.sol
.
v1.0.4
Changed
- Optimize the
pow
function in PRBMathUD60x18.sol by calling mulDivFixedPoint
directly.
v1.0.3
Fixed
- Typos in NatSpec comments.
- Typo in example in README.
Removed
- Stale
SCALE_LPOTD
and SCALE_INVERSE
constants in PRBMathSD59x18.sol.
v1.0.2
Removed
- Stale
SCALE_LPOTD
and SCALE_INVERSE
constants in PRBMathUD60x18.sol.
v1.0.0
Added
- First release of the library.