Skip to content

Dont have add function in PRBMathSD59x18 #94

Closed Answered by PaulRBerg
snehsaurav asked this question in Q&A
Discussion options

You must be logged in to vote

There's nothing special about adding numbers in PRBMath V2. You can just use the usual + operator (don't forget though that by default Solidity implements checked arithmetic, which you can disable via unchecked).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by PaulRBerg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #94 on June 07, 2022 08:43.