Average Error: 0 → 0
Time: 3.3s
Precision: binary64
\[\sin x + \sin \left(-x\right)\]
\[0\]

Error

Bits error versus x

Derivation

  1. Initial program 0

    \[\sin x + \sin \left(-x\right)\]
  2. Simplified0

    \[\leadsto \color{blue}{0}\]
  3. Final simplification0

    \[\leadsto 0\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(+ (sin x) (sin (- x)))"
  :precision binary64
  (+ (sin x) (sin (neg x))))