You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@apuigsech asked me this question privately (via Telegram). I have posted it here because it is a good question that deserves a discussion in the public sphere (so that others can chime in to cast their support for this feature request).
The answer is - I just didn't have time to integrate helper functions into the adjacent types UD2x18 and SD1x18. PRs welcome!
The idea is to add a new file in src/ud2x18 called Helpers.sol, which would implement basic mathematical operations such as add, sub, etc.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
@apuigsech asked me this question privately (via Telegram). I have posted it here because it is a good question that deserves a discussion in the public sphere (so that others can chime in to cast their support for this feature request).
The answer is - I just didn't have time to integrate helper functions into the adjacent types
UD2x18
andSD1x18
. PRs welcome!The idea is to add a new file in
src/ud2x18
calledHelpers.sol
, which would implement basic mathematical operations such asadd
,sub
, etc.Beta Was this translation helpful? Give feedback.
All reactions