\[\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}\]
Test:
Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2
Bits:
128 bits
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
Time: 1.6 m
Input Error: 14.0
Output Error: 13.3
Log:
Profile: 🕒
\(\frac{\frac{\left({\left(\left({\left(\sqrt[3]{\left(x \cdot y + z\right) \cdot y}\right)}^3 + 27464.7644705\right) \cdot y\right)}^2 - {230661.510616}^2\right) \cdot y}{\left({\left(\sqrt[3]{\left(x \cdot y + z\right) \cdot y}\right)}^3 + 27464.7644705\right) \cdot y - 230661.510616} + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\)
  1. Started with
    \[\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}\]
    14.0
  2. Using strategy rm
    14.0
  3. Applied add-cube-cbrt to get
    \[\frac{\left(\left(\color{red}{\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} \leadsto \frac{\left(\left(\color{blue}{{\left(\sqrt[3]{\left(x \cdot y + z\right) \cdot y}\right)}^3} + 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}\]
    13.3
  4. Using strategy rm
    13.3
  5. Applied flip-+ to get
    \[\frac{\color{red}{\left(\left({\left(\sqrt[3]{\left(x \cdot y + z\right) \cdot y}\right)}^3 + 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} \leadsto \frac{\color{blue}{\frac{{\left(\left({\left(\sqrt[3]{\left(x \cdot y + z\right) \cdot y}\right)}^3 + 27464.7644705\right) \cdot y\right)}^2 - {230661.510616}^2}{\left({\left(\sqrt[3]{\left(x \cdot y + z\right) \cdot y}\right)}^3 + 27464.7644705\right) \cdot y - 230661.510616}} \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\]
    13.3
  6. Applied associate-*l/ to get
    \[\frac{\color{red}{\frac{{\left(\left({\left(\sqrt[3]{\left(x \cdot y + z\right) \cdot y}\right)}^3 + 27464.7644705\right) \cdot y\right)}^2 - {230661.510616}^2}{\left({\left(\sqrt[3]{\left(x \cdot y + z\right) \cdot y}\right)}^3 + 27464.7644705\right) \cdot y - 230661.510616} \cdot y} + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \leadsto \frac{\color{blue}{\frac{\left({\left(\left({\left(\sqrt[3]{\left(x \cdot y + z\right) \cdot y}\right)}^3 + 27464.7644705\right) \cdot y\right)}^2 - {230661.510616}^2\right) \cdot y}{\left({\left(\sqrt[3]{\left(x \cdot y + z\right) \cdot y}\right)}^3 + 27464.7644705\right) \cdot y - 230661.510616}} + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\]
    13.3

  7. Removed slow pow expressions

Original test:


(lambda ((x default) (y default) (z default) (t default) (a default) (b default) (c default) (i default))
  #: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)))