Open JorgeAtPaladin opened 1 year ago
https://github.com/aave/aave-v3-core/blob/27a6d5c83560694210849d4abf09a09dec8da388/contracts/protocol/libraries/math/WadRayMath.sol#L86
Hey all, diving into some of these libs for a client. Why is a double iszero done here? Seems like its kinda an identity function if the input is already 0 or 1?
Cheers, Marco
https://github.com/aave/aave-v3-core/blob/27a6d5c83560694210849d4abf09a09dec8da388/contracts/protocol/libraries/math/WadRayMath.sol#L86
Hey all, diving into some of these libs for a client. Why is a double iszero done here? Seems like its kinda an identity function if the input is already 0 or 1?
Cheers, Marco