Average Error: 0.0 → 0.0
Time: 4.7s
Precision: 64
Internal Precision: 320
\[e^{-\left(1 - x \cdot x\right)}\]
\[(e^{\log_* (1 + e^{(x \cdot x + -1)_*})} - 1)^*\]

Error

Bits error versus x

Derivation

  1. Initial program 0.0

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

    \[\leadsto e^{(x \cdot x + -1)_*}\]
  3. Using strategy rm
  4. Applied expm1-log1p-u0.0

    \[\leadsto \color{blue}{(e^{\log_* (1 + e^{(x \cdot x + -1)_*})} - 1)^*}\]
  5. Final simplification0.0

    \[\leadsto (e^{\log_* (1 + e^{(x \cdot x + -1)_*})} - 1)^*\]

Runtime

Time bar (total: 4.7s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0.00.00.00.00%
herbie shell --seed 2018290 +o rules:numerics
(FPCore (x)
  :name "exp neg sub"
  (exp (- (- 1 (* x x)))))