\[\frac{x}{{x}^2 + 1}\]
Test:
x / (x^2 + 1)
Bits:
128 bits
Bits error versus x
Time: 4.7 s
Input Error: 14.6
Output Error: 0.0
Log:
Profile: 🕒
\(\begin{cases} \frac{1}{{x}^{5}} - \left(\frac{1}{{x}^3} - \frac{1}{x}\right) & \text{when } x \le -2.633003449024554 \\ \frac{x}{{x}^2 + 1} & \text{when } x \le 228205724867.64624 \\ \frac{1}{{x}^{5}} - \left(\frac{1}{{x}^3} - \frac{1}{x}\right) & \text{otherwise} \end{cases}\)

    if x < -2.633003449024554 or 228205724867.64624 < x

    1. Started with
      \[\frac{x}{{x}^2 + 1}\]
      29.7
    2. Applied taylor to get
      \[\frac{x}{{x}^2 + 1} \leadsto \left(\frac{1}{{x}^{5}} + \frac{1}{x}\right) - \frac{1}{{x}^{3}}\]
      0.0
    3. Taylor expanded around inf to get
      \[\color{red}{\left(\frac{1}{{x}^{5}} + \frac{1}{x}\right) - \frac{1}{{x}^{3}}} \leadsto \color{blue}{\left(\frac{1}{{x}^{5}} + \frac{1}{x}\right) - \frac{1}{{x}^{3}}}\]
      0.0
    4. Applied simplify to get
      \[\color{red}{\left(\frac{1}{{x}^{5}} + \frac{1}{x}\right) - \frac{1}{{x}^{3}}} \leadsto \color{blue}{\frac{1}{{x}^{5}} - \left(\frac{1}{{x}^3} - \frac{1}{x}\right)}\]
      0.0

    if -2.633003449024554 < x < 228205724867.64624

    1. Started with
      \[\frac{x}{{x}^2 + 1}\]
      0.0

  1. Removed slow pow expressions

Original test:


(lambda ((x default))
  #:name "x / (x^2 + 1)"
  (/ x (+ (sqr x) 1))
  #:target
  (/ 1 (+ x (/ 1 x))))