Average Error: 0.1 → 0.1
Time: 11.4s
Precision: 64
\[\sin \left(\cos x\right)\]
\[\sin \left(\cos x\right)\]
\sin \left(\cos x\right)
\sin \left(\cos x\right)
double f(double x) {
        double r665383 = x;
        double r665384 = cos(r665383);
        double r665385 = sin(r665384);
        return r665385;
}

double f(double x) {
        double r665386 = x;
        double r665387 = cos(r665386);
        double r665388 = sin(r665387);
        return r665388;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.1

    \[\sin \left(\cos x\right)\]
  2. Final simplification0.1

    \[\leadsto \sin \left(\cos x\right)\]

Reproduce

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