\[\frac{\left(-b/2\right) + \sqrt{{b/2}^2 - a \cdot c}}{a}\]
Test:
NMSE problem 3.2.1, positive
Bits:
128 bits
Bits error versus a
Bits error versus b/2
Bits error versus c
Time: 9.9 s
Input Error: 34.1
Output Error: 29.6
Log:
Profile: 🕒
\(\frac{1}{\frac{\left(-b/2\right) - \sqrt{{b/2}^2 - a \cdot c}}{c}}\)
  1. Started with
    \[\frac{\left(-b/2\right) + \sqrt{{b/2}^2 - a \cdot c}}{a}\]
    34.1
  2. Using strategy rm
    34.1
  3. Applied flip-+ to get
    \[\frac{\color{red}{\left(-b/2\right) + \sqrt{{b/2}^2 - a \cdot c}}}{a} \leadsto \frac{\color{blue}{\frac{{\left(-b/2\right)}^2 - {\left(\sqrt{{b/2}^2 - a \cdot c}\right)}^2}{\left(-b/2\right) - \sqrt{{b/2}^2 - a \cdot c}}}}{a}\]
    44.1
  4. Applied simplify to get
    \[\frac{\frac{\color{red}{{\left(-b/2\right)}^2 - {\left(\sqrt{{b/2}^2 - a \cdot c}\right)}^2}}{\left(-b/2\right) - \sqrt{{b/2}^2 - a \cdot c}}}{a} \leadsto \frac{\frac{\color{blue}{a \cdot c}}{\left(-b/2\right) - \sqrt{{b/2}^2 - a \cdot c}}}{a}\]
    32.4
  5. Using strategy rm
    32.4
  6. Applied clear-num to get
    \[\color{red}{\frac{\frac{a \cdot c}{\left(-b/2\right) - \sqrt{{b/2}^2 - a \cdot c}}}{a}} \leadsto \color{blue}{\frac{1}{\frac{a}{\frac{a \cdot c}{\left(-b/2\right) - \sqrt{{b/2}^2 - a \cdot c}}}}}\]
    32.4
  7. Applied simplify to get
    \[\frac{1}{\color{red}{\frac{a}{\frac{a \cdot c}{\left(-b/2\right) - \sqrt{{b/2}^2 - a \cdot c}}}}} \leadsto \frac{1}{\color{blue}{\frac{\left(-b/2\right) - \sqrt{b/2 \cdot b/2 - c \cdot a}}{c}}}\]
    29.6
  8. Applied simplify to get
    \[\frac{1}{\frac{\color{red}{\left(-b/2\right) - \sqrt{b/2 \cdot b/2 - c \cdot a}}}{c}} \leadsto \frac{1}{\frac{\color{blue}{\left(-b/2\right) - \sqrt{{b/2}^2 - a \cdot c}}}{c}}\]
    29.6

Original test:


(lambda ((a default) (b/2 default) (c default))
  #:name "NMSE problem 3.2.1, positive"
  (/ (+ (- b/2) (sqrt (- (sqr b/2) (* a c)))) a))