\[\left|\frac{x + 4}{y} - \frac{x}{y} \cdot z\right|\]
Test:
fabs fraction 1
Bits:
128 bits
Bits error versus x
Bits error versus y
Bits error versus z
Time: 8.6 s
Input Error: 0.8
Output Error: 0.9
Log:
Profile: 🕒
\(\left|\frac{1}{\frac{y}{x + 4}} - \frac{x}{y} \cdot z\right|\)
  1. Started with
    \[\left|\frac{x + 4}{y} - \frac{x}{y} \cdot z\right|\]
    0.8
  2. Using strategy rm
    0.8
  3. Applied clear-num to get
    \[\left|\color{red}{\frac{x + 4}{y}} - \frac{x}{y} \cdot z\right| \leadsto \left|\color{blue}{\frac{1}{\frac{y}{x + 4}}} - \frac{x}{y} \cdot z\right|\]
    0.9

  4. Removed slow pow expressions

Original test:


(lambda ((x default) (y default) (z default))
  #:name "fabs fraction 1"
  (fabs (- (/ (+ x 4) y) (* (/ x y) z))))