Average Error: 0.1 → 0.2
Time: 6.0s
Precision: 64
Internal Precision: 320
\[\left|\frac{m - e}{e}\right| \cdot 100\]
\[\left|\frac{1}{\frac{e}{m - e}}\right| \cdot 100\]

Error

Bits error versus m

Bits error versus e

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.1

    \[\left|\frac{m - e}{e}\right| \cdot 100\]
  2. Using strategy rm
  3. Applied *-un-lft-identity0.1

    \[\leadsto \left|\frac{\color{blue}{1 \cdot \left(m - e\right)}}{e}\right| \cdot 100\]
  4. Applied associate-/l*0.2

    \[\leadsto \left|\color{blue}{\frac{1}{\frac{e}{m - e}}}\right| \cdot 100\]
  5. Final simplification0.2

    \[\leadsto \left|\frac{1}{\frac{e}{m - e}}\right| \cdot 100\]

Runtime

Time bar (total: 6.0s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (m e)
  :name "abs((m-e)/e) * 100"
  (* (fabs (/ (- m e) e)) 100))