Average Error: 0.0 → 0.0
Time: 1.4s
Precision: binary64
\[{2}^{\left(-x\right)} + {x}^{\left(-2\right)}\]
\[{2}^{\left(-x\right)} + {x}^{\left(-2\right)}\]

Error

Bits error versus x

Derivation

  1. Initial program 0.0

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

    \[\leadsto {2}^{\left(-x\right)} + {x}^{\left(-2\right)}\]

Reproduce

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