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

Error

Bits error versus x

Bits error versus y

Target

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

Derivation

  1. Initial program 0.0

    \[200.0 \cdot \left(x - y\right)\]
  2. Using strategy rm
  3. Applied sub-neg 0.0

    \[\leadsto 200.0 \cdot \color{blue}{\left(x + \left(-y\right)\right)}\]
  4. Applied distribute-lft-in 0.0

    \[\leadsto \color{blue}{200.0 \cdot x + 200.0 \cdot \left(-y\right)}\]
  5. Removed slow pow expressions

Runtime

Time bar (total: 16.1s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(2625988554 3116085034 1029519716 1672472787 146792171 3685468808)'
(FPCore (x y)
  :name "Data.Colour.CIE:cieLABView from colour-2.3.3, C"

  :target
  (* 200.0 (- x y))

  (* 200.0 (- x y)))