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

Error

Bits error versus x

Derivation

  1. Initial program 0.0

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

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

Reproduce

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