Is there any way to calculate the following in Solidity?
468750 * 2.718281828459045 ** (x * 0.003662040962) - 468750
Typically I would convert the decimals using
decimal * 10 ** 18 but with the exponent that will result in overflow.
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community