Skip to content

v4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Apr 12:18
7ce3009

Changed

  • Breaking: Rename fromSD590x18, fromUD60x18, toSD59x18, and toUD60x18 to convert (@PaulRBerg)
  • Breaking: Rename Core.sol to Common.sol (@PaulRBerg)
  • Breaking: Set minimum compiler pragma to >=0.8.19 (@PaulRBerg)
  • Bump Node.js dependencies (@PaulRBerg)
  • Bump submodules (@PaulRBerg)
  • Clarify rounding modes (6bb53ea) (@PaulRBerg)
  • Clarify that mulDiv rounds toward zero (cda291) (@PaulRBerg)
  • Fix typo in code snippet in README (#180) (@cygaar)
  • Format contracts with Forge Formatter (@PaulRBerg)
  • Improve writing and formatting in documentation (@PaulRBerg)
  • Make a distinction between lpotdod and its flipped counterpart in Common.mulDiv (@PaulRBerg)
  • Open pragma in test assertions and utils (@PaulRBerg)
  • Reorder statements in Common.mulDiv18 (@PaulRBerg)
  • Rename Common.prbExp2 to Common.exp2 (@PaulRBerg)
  • Rename Common.prbSqrt to Common.sqrt (@PaulRBerg)
  • Rename Assertions to PRBMathAssertions (@PaulRBerg)
  • Return base when exponent is unit in pow (#182) (@PaulRBerg)
  • Return unit when base is unit in pow (#182) (@PaulRBerg)
  • Switch to Pnpm for Node.js package management (@PaulRBerg)
  • Use bound unwrap instead of imported unwrap (@PaulRBerg)
  • Use long names in named imports (@PaulRBerg)

Added

Removed

  • Remove development-related Node.js dependencies (@PaulRBerg)
  • Remove "memory-safe" annotation in test assertions (@PaulRBerg)
  • Remove problematic src/=src/ remapping (@PaulRBerg)
  • Remove superfluous threshold check in SD59x19.exp (@PaulRBerg)

Fixed