Average Error: 0.2 → 0.0
Time: 24.5s
Precision: 64
Internal Precision: 576
\[\frac{1}{\sqrt{\left({e}^{\left({x}^{2}\right)} \cdot 2\right) \cdot pi}}\]
\[{\left(\left({e}^{\left({x}^{2}\right)} \cdot 2\right) \cdot pi\right)}^{\left(-\frac{1}{2}\right)}\]

Error

Bits error versus e

Bits error versus x

Bits error versus pi

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.2

    \[\frac{1}{\sqrt{\left({e}^{\left({x}^{2}\right)} \cdot 2\right) \cdot pi}}\]
  2. Using strategy rm
  3. Applied pow1/20.1

    \[\leadsto \frac{1}{\color{blue}{{\left(\left({e}^{\left({x}^{2}\right)} \cdot 2\right) \cdot pi\right)}^{\frac{1}{2}}}}\]
  4. Applied pow-flip0.0

    \[\leadsto \color{blue}{{\left(\left({e}^{\left({x}^{2}\right)} \cdot 2\right) \cdot pi\right)}^{\left(-\frac{1}{2}\right)}}\]

Runtime

Time bar (total: 24.5s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (e x pi)
  :name "1 / sqrt(e^(x^2) * 2 * pi)"
  (/ 1 (sqrt (* (* (pow e (pow x 2)) 2) pi))))