Average Error: 5.7 → 0
Time: 27.7s
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: 27.7s)Debug logProfile

herbie shell --seed '#(1063185673 2139736501 2393378123 1907444849 1070993796 1007244912)' 
(FPCore (a b)
  :name "Exp of sum of logs"

  :herbie-target
  (* a b)

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