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
// x is now in the range (-42, 136) * 1e18. Convert to (-42, 136) * 2**96// for more intermediate precision and a binary basis. This base conversion// is a multiplication by 1e18 / 2**96 = 5**18 / 2**78.
x = (x <<78) /5**18;
https://github.com/transmissions11/solmate/blob/main/src/utils/SignedWadMath.sol#L93
log(0.5e18) -> log(0.5e-18)
log(0.5e18) = 40.753384493332874
log(0.5e-18) = -42.13967885445277
The text was updated successfully, but these errors were encountered: