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

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[e^{-\left(1 - x \cdot x\right)}\]
  2. Initial simplification0.0

    \[\leadsto \frac{e^{x \cdot x}}{e}\]
  3. Using strategy rm
  4. Applied div-inv0.0

    \[\leadsto \color{blue}{e^{x \cdot x} \cdot \frac{1}{e}}\]
  5. Final simplification0.0

    \[\leadsto e^{x \cdot x} \cdot \frac{1}{e}\]

Runtime

Time bar (total: 8.2s)Debug logProfile

herbie shell --seed 2018254 
(FPCore (x)
  :name "exp neg sub"
  (exp (- (- 1 (* x x)))))