Skip to main content
11 of 18
added 232 characters in body
Mama Fun Roll
  • 9.9k
  • 1
  • 36
  • 46

Built-in solutions

Python, 17 bytes

from math import* # asin, acos,atan

Attempt This Online!

Python, 18 bytes (supports all real values)

from cmath import* #asin,acos,atan

Attempt This Online!


Vyxal, 2 bytes each

∆S # Arcsine
∆C # Arccosine
∆T # Arctangent

Try it Online!


Thunno 2, 2 bytes each

Æs # arcsin
Æc # arccos
Æt # arctan

Try it online!


JavaScript, 29 bytes

Math.asin
Math.acos
Math.atan

Attempt This Online!

Rust

f64::asin
f64::acos
f64::atan

APL(Dyalog Unicode), 1 bytes SBCS

Try it on APLgolf!

Left argument chooses function:

¯1○⍵ ⍝ asin
¯2○⍵ ⍝ acos
¯3○⍵ ⍝ atan

Go

13 bytes (reals only)

import."math"
// Asin
// Acos
// Atan

Attempt This Online!

19 bytes (includes complex numbers)

import."math/cmplx"
// Asin
// Acos
// Atan

Attempt This Online!

sclin, 14 bytes

sin_
cos_
tan_

Try it on scline!

bsoelch
  • 6k
  • 1
  • 9
  • 62