simple problem, but i can't seem to wrap my head around it in solidity.
how can i do 2^0.3 (exponent smaller then 1) in solidity using integers.
thanks in advance K.
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
a^b
to compute the exponent. This seems to have an implementation of `e^x.