Average Error: 5.6 → 0
Time: 3.5s
Precision: 64
Internal Precision: 128
\[e^{\log a + \log b}\]
\[a \cdot b\]

Error

Bits error versus a

Bits error versus b

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Target

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

Derivation

  1. Initial program 5.6

    \[e^{\log a + \log b}\]
  2. Initial simplification0

    \[\leadsto a \cdot b\]
  3. Final simplification0

    \[\leadsto a \cdot b\]

Runtime

Time bar (total: 3.5s)Debug logProfile

herbie shell --seed 2018256 
(FPCore (a b)
  :name "Exp of sum of logs"

  :herbie-target
  (* a b)

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