Average Error: 3.1 → 3.1
Time: 32.6s
Precision: 64
Internal precision: 128
\[x \cdot \left(1.0 - y \cdot z\right)\]
\[x \cdot \left(1.0 - y \cdot z\right)\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Target

Original3.1
Comparison3.1
Herbie3.1
\[ x \cdot \left(1.0 - y \cdot z\right) \]

Derivation

  1. Initial program 3.1

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

Runtime

Time bar (total: 32.6s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(3143591898 98575144 2899059388 3797883013 2920826586 651220069)'
(FPCore (x y z)
  :name "Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, I"

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

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