Average Error: 0.1 → 0.1
Time: 10.1s
Precision: 64
Internal Precision: 320
\[1 + \sin x \cdot \cos x\]
\[1 + \frac{0 + \sin \left(x + x\right)}{2}\]

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

    \[1 + \sin x \cdot \cos x\]
  2. Using strategy rm
  3. Applied sin-cos-mult0.1

    \[\leadsto 1 + \color{blue}{\frac{\sin \left(x - x\right) + \sin \left(x + x\right)}{2}}\]
  4. Applied simplify0.1

    \[\leadsto 1 + \frac{\color{blue}{0 + \sin \left(x + x\right)}}{2}\]

Runtime

Time bar (total: 10.1s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (x)
  :name "1+sin(x)*cos(x)"
  (+ 1 (* (sin x) (cos x))))