In-depth lesson · Rounding and precision errors
Year by year: 2023
What the disclosed Rounding and precision errors reports of each year show, newest first: what first appeared, what kept working and what turned up less.
2023
6 pointsKept working6
Price ratio and invariant calculations were checked for precision loss yielding a wrong ratio in the disclosed reports.
Seen in 2 reports
Square root and invariant calculations were tested for large precision errors that break the invariant in the disclosed reports.
Seen in 2 reports
Code dividing before multiplying was tested for truncation to zero or significant precision loss in the disclosed reports.
Seen in 1 report
Staking and reward pool distribution functions were examined for precision loss leaving rewards locked or under-distributed in the disclosed reports.
Seen in 1 report
First depositor share inflation through donation or share price manipulation remained a recurring pattern in the disclosed reports.
Seen in 1 report
Oracle prices and ticks were checked for wrong-direction rounding that makes a swapper overpay or trade below the signed value in the disclosed reports.
Seen in 1 report