-
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: user-defined value types SD59x18 and UD60x18
chore: add comments to explain what the "sgt" yul instruction does chore: fix "prettier" script docs: add backticks (``) to variables and functions in referenced in natspec comments docs: polish wording and improve formatting in natspec comments docs: use mathjax to define math formulas perf: define "2 * SCALE" as a memory variable in "log2" perf: use "> 0 == false" instead of "x == 0" where possible perf: wrap unary operations in "unchecked" blocks in "div" and "mulDivSigned" refactor: define custom errors within "PRBMath" library and in "SD59x18.sol" and "UD60x18.sol" refactor: rename "ABS_INPUT_TOO_SMALL" custom error to "ABS_MIN_SD59x18" refactor!: delete PRBMathSD59x18, PRBMathSD59x18Typed, PRBMathUD60x18 and PRBMathUD60x18Typed refactor!: rename "fromInt" to "toSD59x18" refactor!: rename "fromUint" to "toUD60x18" refactor!: rename "mostSignficantBit" to "msb" refactor!: rename "toInt" to "fromSD59x18" refactor!: rename "toUint" to "fromUD60x18" refactor!: restructure libraries as free functions refactor!: support only solidity v0.8.13 and above
- Loading branch information
Showing
91 changed files
with
492,371 additions
and
3,642 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.