\[\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: 30.6 s
Input Error: 14.6
Output Error: 12.4
Log:
Profile: 🕒
\(\frac{\left(\left({y}^2 \cdot z + {y}^{3} \cdot x\right) + 230661.510616\right) \cdot y + t}{\left({\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y\right)}^{1} + 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.6
  2. Using strategy rm
    14.6
  3. Applied pow1 to get
    \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\color{red}{\left(\left(y + a\right) \cdot y + b\right) \cdot y} + c\right) \cdot y + i} \leadsto \frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\color{blue}{{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y\right)}^{1}} + c\right) \cdot y + i}\]
    14.3
  4. Applied taylor to get
    \[\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(\left(y + a\right) \cdot y + b\right) \cdot y\right)}^{1} + c\right) \cdot y + i} \leadsto \frac{\left(\left({y}^2 \cdot z + {y}^{3} \cdot x\right) + 230661.510616\right) \cdot y + t}{\left({\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y\right)}^{1} + c\right) \cdot y + i}\]
    12.4
  5. Taylor expanded around inf to get
    \[\frac{\left(\color{red}{\left({y}^2 \cdot z + {y}^{3} \cdot x\right)} + 230661.510616\right) \cdot y + t}{\left({\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y\right)}^{1} + c\right) \cdot y + i} \leadsto \frac{\left(\color{blue}{\left({y}^2 \cdot z + {y}^{3} \cdot x\right)} + 230661.510616\right) \cdot y + t}{\left({\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y\right)}^{1} + c\right) \cdot y + i}\]
    12.4

  6. 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)))