Average Error: 0.0 → 0.0
Time: 3.4s
Precision: 64
Internal precision: 128
\[\left(x + y\right) - x \cdot y\]
\[\left(x + y\right) - x \cdot y\]

Error

Bits error versus x

Bits error versus y

Target

Original0.0
Comparison0.0
Herbie0.0
\[ \left(x + y\right) - x \cdot y \]

Derivation

  1. Initial program 0.0

    \[\left(x + y\right) - x \cdot y\]
  2. Removed slow pow expressions

Runtime

Time bar (total: 3.4s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(1425408198 186718012 3704388579 987886901 451522740 4275490677)'
(FPCore (x y)
  :name "Data.Colour.RGBSpace.HSL:hsl from colour-2.3.3, A"

  :target
  (- (+ x y) (* x y))

  (- (+ x y) (* x y)))