solady icon indicating copy to clipboard operation
solady copied to clipboard

✨ add uint256->int32 safecast

Open chlwys opened this issue 1 year ago • 0 comments

Description

added an additional safecast for uint256 -> int32. Only added support for int32 because it's a more common number format, but the others could be added too

Checklist

Ensure you completed all of the steps below before submitting your pull request:

  • [x] Ran forge fmt?
  • [x] Ran forge snapshot?
  • [x] Ran forge test?

Pull requests with an incomplete checklist will be thrown out.

chlwys avatar Apr 22 '24 12:04 chlwys