Average Error: 5.7 → 0
Time: 24.6s
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}\]
  3. Removed slow pow expressions.

Runtime

Time bar (total: 24.6s)Debug logProfile

herbie shell --seed '#(1063154770 1824007522 645063331 41291047 494775821 1237684644)' 
(FPCore (a b)
  :name "Exp of sum of logs"

  :herbie-target
  (* a b)

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