I want to implement this formula enter image description here

I need a library to implement this. Thanks

  • 2
    Before being able to implement sine and cosine in Solidity, you first need a fixed-point math library. See PRBMath. Oct 12 at 17:33
  • 1
    What are you trying to accomplish? The EVM is a quite limited, when possible it is better to do computations off-chain.
    – Ismael
    Oct 15 at 6:59
  • @Ismael yeap that makes more sense 2 days ago

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.