Average Error: 0.1 → 0.1
Time: 10.2s
Precision: 64
Internal Precision: 384
\[x \cdot \left(1.0 - x \cdot y\right)\]
\[x \cdot \left(1.0 - x \cdot y\right)\]

Error

Bits error versus x

Bits error versus y

Target

Original0.1
Target0.1
Herbie0.1
\[x \cdot \left(1.0 - x \cdot y\right)\]

Derivation

  1. Initial program 0.1

    \[x \cdot \left(1.0 - x \cdot y\right)\]

Runtime

Time bar (total: 10.2s)Debug log

herbie shell --seed '#(1567391828 2030694642 2833800258 828025724 3004380912 3532991858)' +o setup:early-exit +o reduce:binary-search
(FPCore (x y)
  :name "Numeric.SpecFunctions:log1p from math-functions-0.1.5.2, A"

  :herbie-target
  (* x (- 1.0 (* x y)))

  (* x (- 1.0 (* x y))))