Average Error: 0.0 → 0.0
Time: 4.7s
Precision: 64
Internal precision: 128
\[e^{-\left(1 - x \cdot x\right)}\]
\[e^{x \cdot x - 1}\]

Error

Bits error versus x

Derivation

  1. Initial program 0.0

    \[e^{-\left(1 - x \cdot x\right)}\]
  2. Applied simplify 0.0

    \[\leadsto \color{blue}{\frac{e^{{x}^2}}{e}}\]
  3. Using strategy rm
  4. Applied add-exp-log 0.0

    \[\leadsto \color{blue}{e^{\log \left(\frac{e^{{x}^2}}{e}\right)}}\]
  5. Applied simplify 0.0

    \[\leadsto e^{\color{blue}{x \cdot x - 1}}\]
  6. Removed slow pow expressions

Runtime

Time bar (total: 4.7s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(610999554 795326282 1629605267 2185660213 2916221547 1882717763)'
(FPCore (x)
  :name "exp neg sub"
  (exp (- (- 1 (* x x)))))