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

Error

Bits error versus a

Bits error versus b

Target

Original48.1
Target0
Herbie0
\[a \cdot b\]

Derivation

  1. Initial program 48.1

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

    \[\leadsto \color{blue}{a \cdot b}\]
  3. Removed slow pow expressions.

Runtime

Time bar (total: 5.8s)Debug logProfile

herbie shell --seed '#(1062930989 876886121 3990119081 3032829768 3060892583 1929069376)' 
(FPCore (a b)
  :name "Exp of sum of logs"

  :herbie-target
  (* a b)

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