Search code examples
mathtrigonometryinverseeiffel

How to get inverse trigonometric functions in Eiffel?


How do I use inverse trigonometric functions such as sin inverse, cos inverse, and tan inverse in Eiffel?

I tried atan, arctan, and arctangent, but none of them work. I was also unable to find it in any other source.

Thank you.


Solution

  • As per https://archive.eiffel.com/doc/online/eiffel50/intro/studio/index-09A/base/support/double_math.html

    using the double_math class the names are arc_sine, arc_cosine, arc_tangent. There is no argument function like atan2.