Average Error: 0.1 → 0.1
Time: 1.8m
Precision: 64
Internal Precision: 384
\[\left(\left(x \cdot y + \frac{z \cdot t}{16.0}\right) - \frac{a \cdot b}{4.0}\right) + c\]
\[\left(\left(x \cdot y + \frac{z}{\frac{16.0}{t}}\right) - \frac{a \cdot b}{4.0}\right) + c\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Bits error versus t

Bits error versus a

Bits error versus b

Bits error versus c

Derivation

  1. Initial program 0.1

    \[\left(\left(x \cdot y + \frac{z \cdot t}{16.0}\right) - \frac{a \cdot b}{4.0}\right) + c\]
  2. Using strategy rm
  3. Applied associate-/l*0.1

    \[\leadsto \left(\left(x \cdot y + \color{blue}{\frac{z}{\frac{16.0}{t}}}\right) - \frac{a \cdot b}{4.0}\right) + c\]
  4. Removed slow pow expressions.

Runtime

Time bar (total: 1.8m)Debug log

herbie shell --seed '#(1567391828 2030694642 2833800258 828025724 3004380912 3532991858)' +o setup:early-exit
(FPCore (x y z t a b c)
  :name "Diagrams.Solve.Polynomial:quartForm  from diagrams-solve-0.1, C"
  (+ (- (+ (* x y) (/ (* z t) 16.0)) (/ (* a b) 4.0)) c))