Average Error: 31.0 → 31.0
Time: 2.4s
Precision: binary64
\[\frac{x \cdot \left(1 - e^{\left(-y\right) \cdot z}\right)}{y}\]
\[\frac{x \cdot \left(1 - e^{\left(-y\right) \cdot z}\right)}{y}\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Derivation

  1. Initial program 31.0

    \[\frac{x \cdot \left(1 - e^{\left(-y\right) \cdot z}\right)}{y}\]
  2. Final simplification31.0

    \[\leadsto \frac{x \cdot \left(1 - e^{\left(-y\right) \cdot z}\right)}{y}\]

Reproduce

herbie shell --seed 2020152 
(FPCore (x y z)
  :name "(/ (* x (- 1 (exp (* (- y) z)))) y)"
  :precision binary64
  (/ (* x (- 1.0 (exp (* (neg y) z)))) y))