Average Error: 0.2 → 0.2
Time: 19.6s
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 r1111745 = x;
        double r1111746 = sin(r1111745);
        double r1111747 = asin(r1111746);
        return r1111747;
}

double f(double x) {
        double r1111748 = x;
        double r1111749 = sin(r1111748);
        double r1111750 = asin(r1111749);
        return r1111750;
}

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)))