Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulrberg/check-same-sign
Gas golfing the most gas efficient way to check if two integers have the same sign in Solidity
https://github.com/paulrberg/check-same-sign
solidity
Last synced: 3 months ago
JSON representation
Gas golfing the most gas efficient way to check if two integers have the same sign in Solidity
- Host: GitHub
- URL: https://github.com/paulrberg/check-same-sign
- Owner: PaulRBerg
- License: mit
- Created: 2022-07-12T13:53:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-17T11:51:15.000Z (over 2 years ago)
- Last Synced: 2024-10-03T12:20:15.811Z (3 months ago)
- Topics: solidity
- Language: Solidity
- Homepage:
- Size: 1.11 MB
- Stars: 46
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Check Same Sign
Gas golfing the most gas efficient way to check if two integers have the same sign in Solidity.
See this [discussion](https://twitter.com/PaulRBerg/status/1546240870025936904) on Twitter.
## Gas Golfing Results
![Gas Golfing Results](https://i.imgur.com/da9xxNY.jpg)