Search code examples
luatrigonometryinverse

How to find sine^-1 (sine inverse) in lua


I just need a function that gives me the inverted sine. I've tried using

math.sin(x)^-1

but that doesn't work... How do you find the inverted sine of a number in lua?


Solution

  • Do you mean arcsin ?

    math.asin(x)