Average Error: 5.7 → 0
Time: 8.9s
Precision: 64
Internal Precision: 384
\[e^{\log a + \log b}\]
\[a \cdot b\]

Error

Bits error versus a

Bits error versus b

Target

Original5.7
Target0
Herbie0
\[a \cdot b\]

Derivation

  1. Initial program 5.7

    \[e^{\log a + \log b}\]
  2. Applied simplify0

    \[\leadsto \color{blue}{a \cdot b}\]

Runtime

Time bar (total: 8.9s)Debug log

herbie shell --seed '#(4187538376 1520029361 2786545844 1568991248 4244367449 2261141537)' 
(FPCore (a b)
  :name "Exp of sum of logs"

  :herbie-target
  (* a b)

  (exp (+ (log a) (log b))))