Average Error: 28.5 → 28.7
Time: 1.4m
Precision: 64
Internal Precision: 576
\[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\]
\[\left(t + \left(y \cdot \left(y \cdot \left(z + x \cdot y\right) + 27464.7644705\right) + 230661.510616\right) \cdot y\right) \cdot \frac{1}{y \cdot \left(c + \left(y \cdot \sqrt[3]{b + \left(a + y\right) \cdot y}\right) \cdot \left(\sqrt[3]{(\left(a + y\right) \cdot y + b)_*} \cdot \sqrt[3]{(\left(a + y\right) \cdot y + b)_*}\right)\right) + i}\]

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

Bits error versus i

Derivation

  1. Initial program 28.5

    \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\]
  2. Using strategy rm
  3. Applied div-inv28.6

    \[\leadsto \color{blue}{\left(\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t\right) \cdot \frac{1}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}}\]
  4. Using strategy rm
  5. Applied add-cube-cbrt28.7

    \[\leadsto \left(\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t\right) \cdot \frac{1}{\left(\color{blue}{\left(\left(\sqrt[3]{\left(y + a\right) \cdot y + b} \cdot \sqrt[3]{\left(y + a\right) \cdot y + b}\right) \cdot \sqrt[3]{\left(y + a\right) \cdot y + b}\right)} \cdot y + c\right) \cdot y + i}\]
  6. Applied associate-*l*28.7

    \[\leadsto \left(\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t\right) \cdot \frac{1}{\left(\color{blue}{\left(\sqrt[3]{\left(y + a\right) \cdot y + b} \cdot \sqrt[3]{\left(y + a\right) \cdot y + b}\right) \cdot \left(\sqrt[3]{\left(y + a\right) \cdot y + b} \cdot y\right)} + c\right) \cdot y + i}\]
  7. Simplified28.7

    \[\leadsto \left(\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t\right) \cdot \frac{1}{\left(\color{blue}{\left(\sqrt[3]{(\left(a + y\right) \cdot y + b)_*} \cdot \sqrt[3]{(\left(a + y\right) \cdot y + b)_*}\right)} \cdot \left(\sqrt[3]{\left(y + a\right) \cdot y + b} \cdot y\right) + c\right) \cdot y + i}\]
  8. Final simplification28.7

    \[\leadsto \left(t + \left(y \cdot \left(y \cdot \left(z + x \cdot y\right) + 27464.7644705\right) + 230661.510616\right) \cdot y\right) \cdot \frac{1}{y \cdot \left(c + \left(y \cdot \sqrt[3]{b + \left(a + y\right) \cdot y}\right) \cdot \left(\sqrt[3]{(\left(a + y\right) \cdot y + b)_*} \cdot \sqrt[3]{(\left(a + y\right) \cdot y + b)_*}\right)\right) + i}\]

Runtime

Time bar (total: 1.4m)Debug logProfile

herbie shell --seed 2018234 +o rules:numerics
(FPCore (x y z t a b c i)
  :name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2"
  (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))