Average Error: 0.2 → 0.2
Time: 19.8s
Precision: 64
\[\sin^{-1} \left(\sin x\right)\]
\[\sin^{-1} \left(\sin x\right)\]
\sin^{-1} \left(\sin x\right)
\sin^{-1} \left(\sin x\right)
double f(double x) {
        double r347922 = x;
        double r347923 = sin(r347922);
        double r347924 = asin(r347923);
        return r347924;
}

double f(double x) {
        double r347925 = x;
        double r347926 = sin(r347925);
        double r347927 = asin(r347926);
        return r347927;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.2

    \[\sin^{-1} \left(\sin x\right)\]
  2. Final simplification0.2

    \[\leadsto \sin^{-1} \left(\sin x\right)\]

Reproduce

herbie shell --seed 1 
(FPCore (x)
  :name "asin(sin(x))"
  :precision binary64
  (asin (sin x)))