Skip to main content

Timeline for Inverse trigonometric functions

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
Aug 31, 2023 at 16:20 comment added Kai Burghardt @corvus_192 Thank you for your suggestion, but this formula will require that the divisor is non-zero.
Aug 31, 2023 at 16:11 comment added bsoelch You could add arctan to the community wiki and add a comment that the other two functions are not built-in
Aug 31, 2023 at 16:00 history edited Kai Burghardt CC BY-SA 4.0
provide custom `arctan` instead of relying on built-in `arctan` function
Aug 31, 2023 at 15:42 comment added corvus_192 Can't test, but would something like this work? arcsin := arctan(x / sqrt(1 − sqr(x))); (see en.wikipedia.org/wiki/…)
Aug 31, 2023 at 15:30 comment added Kai Burghardt @bsoelch Not only do I (from a software engineering point of view) dislike reimplementing built-in functionality, but doesn’t this amount to a penalty? You know, I cannot add “Pascal” to the community wiki post, because only arctan is a built-in function.
Aug 31, 2023 at 15:16 comment added bsoelch Answers outside the community wiki should not only use non built-ins
Aug 31, 2023 at 15:15 comment added Kai Burghardt @bsoelch Certainly I can, but wouldn’t this defeat the purpose of code-golf? There is no benefit in defining a custom arctan anyway: the built-in trigonometric functions (sin, cos, and arctan) can take and output complex numbers.
Aug 31, 2023 at 15:08 comment added bsoelch can you also add a non built-in solution for the arctan function
Aug 31, 2023 at 15:00 history answered Kai Burghardt CC BY-SA 4.0