Skip to content

Conversation

viktorking7
Copy link

PR Description

  • What: Add explicit zero-divisor guards to stdMath.percentDelta(uint256,uint256) and stdMath.percentDelta(int256,int256).
  • Why: Prevents runtime division-by-zero and makes failure mode explicit and predictable.
  • How: Added require checks with a concise error message and brief comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants