\[\sqrt{\frac{-2.839573235346269 \cdot 10^{-37}}{\left(a \cdot b\right) \cdot \left|a\right|}}\]
Test:
(sqrt (/ -2.839573235346269e-37 (* (* a b) (fabs a))))
Bits:
128 bits
Bits error versus a
Bits error versus b
Time: 9.8 s
Input Error: 24.8
Output Error: 8.3
Log:
Profile: 🕒
\(\begin{cases} \frac{\sqrt{\frac{-2.839573235346269 \cdot 10^{-37}}{a \cdot b}}}{\sqrt{\left|a\right|}} & \text{when } \left(a \cdot b\right) \cdot \left|a\right| \le -1.968508415724686 \cdot 10^{+162} \\ \sqrt{\frac{\frac{-2.839573235346269 \cdot 10^{-37}}{a}}{b}} \cdot \sqrt{\frac{1}{\left|a\right|}} & \text{otherwise} \end{cases}\)

    if (* (* a b) (fabs a)) < -1.968508415724686e+162

    1. Started with
      \[\sqrt{\frac{-2.839573235346269 \cdot 10^{-37}}{\left(a \cdot b\right) \cdot \left|a\right|}}\]
      32.1
    2. Using strategy rm
      32.1
    3. Applied associate-/r* to get
      \[\sqrt{\color{red}{\frac{-2.839573235346269 \cdot 10^{-37}}{\left(a \cdot b\right) \cdot \left|a\right|}}} \leadsto \sqrt{\color{blue}{\frac{\frac{-2.839573235346269 \cdot 10^{-37}}{a \cdot b}}{\left|a\right|}}}\]
      32.2
    4. Using strategy rm
      32.2
    5. Applied sqrt-div to get
      \[\color{red}{\sqrt{\frac{\frac{-2.839573235346269 \cdot 10^{-37}}{a \cdot b}}{\left|a\right|}}} \leadsto \color{blue}{\frac{\sqrt{\frac{-2.839573235346269 \cdot 10^{-37}}{a \cdot b}}}{\sqrt{\left|a\right|}}}\]
      12.5

    if -1.968508415724686e+162 < (* (* a b) (fabs a))

    1. Started with
      \[\sqrt{\frac{-2.839573235346269 \cdot 10^{-37}}{\left(a \cdot b\right) \cdot \left|a\right|}}\]
      20.0
    2. Using strategy rm
      20.0
    3. Applied associate-/r* to get
      \[\sqrt{\color{red}{\frac{-2.839573235346269 \cdot 10^{-37}}{\left(a \cdot b\right) \cdot \left|a\right|}}} \leadsto \sqrt{\color{blue}{\frac{\frac{-2.839573235346269 \cdot 10^{-37}}{a \cdot b}}{\left|a\right|}}}\]
      17.9
    4. Using strategy rm
      17.9
    5. Applied div-inv to get
      \[\sqrt{\color{red}{\frac{\frac{-2.839573235346269 \cdot 10^{-37}}{a \cdot b}}{\left|a\right|}}} \leadsto \sqrt{\color{blue}{\frac{-2.839573235346269 \cdot 10^{-37}}{a \cdot b} \cdot \frac{1}{\left|a\right|}}}\]
      17.9
    6. Applied sqrt-prod to get
      \[\color{red}{\sqrt{\frac{-2.839573235346269 \cdot 10^{-37}}{a \cdot b} \cdot \frac{1}{\left|a\right|}}} \leadsto \color{blue}{\sqrt{\frac{-2.839573235346269 \cdot 10^{-37}}{a \cdot b}} \cdot \sqrt{\frac{1}{\left|a\right|}}}\]
      7.7
    7. Using strategy rm
      7.7
    8. Applied associate-/r* to get
      \[\sqrt{\color{red}{\frac{-2.839573235346269 \cdot 10^{-37}}{a \cdot b}}} \cdot \sqrt{\frac{1}{\left|a\right|}} \leadsto \sqrt{\color{blue}{\frac{\frac{-2.839573235346269 \cdot 10^{-37}}{a}}{b}}} \cdot \sqrt{\frac{1}{\left|a\right|}}\]
      5.6

  1. Removed slow pow expressions

Original test:


(lambda ((a default) (b default))
  #:name "(sqrt (/ -2.839573235346269e-37 (* (* a b) (fabs a))))"
  (sqrt (/ -2.839573235346269e-37 (* (* a b) (fabs a)))))