Average Error: 14.1 → 0.2
Time: 17.1s
Precision: binary64
Cost: 21122
\[\left(-x \cdot \frac{1}{\tan B}\right) + \frac{F}{\sin B} \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(-\frac{1}{2}\right)}\]
\[\begin{array}{l} \mathbf{if}\;F \leq -2.957723683841436 \cdot 10^{+47}:\\ \;\;\;\;\frac{-1}{\sin B} - \frac{x}{\tan B}\\ \mathbf{elif}\;F \leq 97778852.442119:\\ \;\;\;\;\frac{1}{\frac{\sin B}{F \cdot {\left(x \cdot 2 + \left(2 + F \cdot F\right)\right)}^{-0.5}}} - \frac{x}{\tan B}\\ \mathbf{else}:\\ \;\;\;\;\frac{1}{\sin B} - \frac{x}{\tan B}\\ \end{array}\]
\left(-x \cdot \frac{1}{\tan B}\right) + \frac{F}{\sin B} \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(-\frac{1}{2}\right)}
\begin{array}{l}
\mathbf{if}\;F \leq -2.957723683841436 \cdot 10^{+47}:\\
\;\;\;\;\frac{-1}{\sin B} - \frac{x}{\tan B}\\

\mathbf{elif}\;F \leq 97778852.442119:\\
\;\;\;\;\frac{1}{\frac{\sin B}{F \cdot {\left(x \cdot 2 + \left(2 + F \cdot F\right)\right)}^{-0.5}}} - \frac{x}{\tan B}\\

\mathbf{else}:\\
\;\;\;\;\frac{1}{\sin B} - \frac{x}{\tan B}\\

\end{array}
(FPCore (F B x)
 :precision binary64
 (+
  (- (* x (/ 1.0 (tan B))))
  (* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))))
(FPCore (F B x)
 :precision binary64
 (if (<= F -2.957723683841436e+47)
   (- (/ -1.0 (sin B)) (/ x (tan B)))
   (if (<= F 97778852.442119)
     (-
      (/ 1.0 (/ (sin B) (* F (pow (+ (* x 2.0) (+ 2.0 (* F F))) -0.5))))
      (/ x (tan B)))
     (- (/ 1.0 (sin B)) (/ x (tan B))))))
double code(double F, double B, double x) {
	return -(x * (1.0 / tan(B))) + ((F / sin(B)) * pow((((F * F) + 2.0) + (2.0 * x)), -(1.0 / 2.0)));
}
double code(double F, double B, double x) {
	double tmp;
	if (F <= -2.957723683841436e+47) {
		tmp = (-1.0 / sin(B)) - (x / tan(B));
	} else if (F <= 97778852.442119) {
		tmp = (1.0 / (sin(B) / (F * pow(((x * 2.0) + (2.0 + (F * F))), -0.5)))) - (x / tan(B));
	} else {
		tmp = (1.0 / sin(B)) - (x / tan(B));
	}
	return tmp;
}

Error

Bits error versus F

Bits error versus B

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Alternatives

Alternative 1
Error50.6
Cost72512
\[\left({\left(\sqrt{2 \cdot x + \left(2 + F \cdot F\right)}\right)}^{-0.5} \cdot \frac{\sqrt{F}}{\sqrt{\sin B}}\right) \cdot \left({\left(\sqrt{2 \cdot x + \left(2 + F \cdot F\right)}\right)}^{-0.5} \cdot \frac{\sqrt{F}}{\sqrt{\sin B}}\right) - \frac{x}{\tan B}\]
Alternative 2
Error14.7
Cost72064
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{\tan B} \cdot \sqrt[3]{\tan B}} \cdot \frac{\sqrt[3]{x}}{\sqrt[3]{\tan B}}\]
Alternative 3
Error14.3
Cost67072
\[\sqrt[3]{\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}} \cdot \left(\sqrt[3]{\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}} \cdot \sqrt[3]{\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}}\right) - \frac{x}{\tan B}\]
Alternative 4
Error34.4
Cost65536
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \frac{\sqrt{x}}{\sqrt[3]{\tan B} \cdot \sqrt[3]{\tan B}} \cdot \frac{\sqrt{x}}{\sqrt[3]{\tan B}}\]
Alternative 5
Error50.6
Cost59712
\[\left({\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.25} \cdot \frac{\sqrt{F}}{\sqrt{\sin B}}\right) \cdot \left({\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.25} \cdot \frac{\sqrt{F}}{\sqrt{\sin B}}\right) - \frac{x}{\tan B}\]
Alternative 6
Error39.4
Cost59712
\[\left(\sqrt{{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}} \cdot \sqrt{\frac{F}{\sin B}}\right) \cdot \left(\sqrt{{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}} \cdot \sqrt{\frac{F}{\sin B}}\right) - \frac{x}{\tan B}\]
Alternative 7
Error37.2
Cost59136
\[\frac{\sqrt[3]{F} \cdot \sqrt[3]{F}}{\sqrt{\sin B}} \cdot \left({\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} \cdot \frac{\sqrt[3]{F}}{\sqrt{\sin B}}\right) - \frac{x}{\tan B}\]
Alternative 8
Error14.3
Cost53760
\[\frac{F}{\sin B} \cdot \left(\sqrt[3]{{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}} \cdot \left(\sqrt[3]{{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}} \cdot \sqrt[3]{{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}}\right)\right) - \frac{x}{\tan B}\]
Alternative 9
Error14.5
Cost52864
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \sqrt[3]{\frac{x}{\tan B}} \cdot \left(\sqrt[3]{\frac{x}{\tan B}} \cdot \sqrt[3]{\frac{x}{\tan B}}\right)\]
Alternative 10
Error14.6
Cost52736
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \frac{1}{\sqrt[3]{\tan B} \cdot \sqrt[3]{\tan B}} \cdot \frac{x}{\sqrt[3]{\tan B}}\]
Alternative 11
Error11.7
Cost52736
\[\frac{1}{\sqrt[3]{\sin B} \cdot \sqrt[3]{\sin B}} \cdot \left({\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} \cdot \frac{F}{\sqrt[3]{\sin B}}\right) - \frac{x}{\tan B}\]
Alternative 12
Error14.6
Cost52608
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \frac{\frac{x}{\sqrt[3]{\tan B} \cdot \sqrt[3]{\tan B}}}{\sqrt[3]{\tan B}}\]
Alternative 13
Error49.3
Cost52608
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \frac{\sqrt{x}}{\sqrt{\tan B}} \cdot \frac{\sqrt{x}}{\sqrt{\tan B}}\]
Alternative 14
Error50.6
Cost52608
\[\frac{\sqrt{F}}{\sqrt{\sin B}} \cdot \left({\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} \cdot \frac{\sqrt{F}}{\sqrt{\sin B}}\right) - \frac{x}{\tan B}\]
Alternative 15
Error14.3
Cost47296
\[\frac{F}{\sin B} \cdot \left({\left(\sqrt[3]{2 \cdot x + \left(2 + F \cdot F\right)} \cdot \sqrt[3]{2 \cdot x + \left(2 + F \cdot F\right)}\right)}^{-0.5} \cdot {\left(\sqrt[3]{2 \cdot x + \left(2 + F \cdot F\right)}\right)}^{-0.5}\right) - \frac{x}{\tan B}\]
Alternative 16
Error35.5
Cost46912
\[\sqrt{\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}} \cdot \sqrt{\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}} - \frac{x}{\tan B}\]
Alternative 17
Error14.2
Cost40256
\[\frac{F}{\sin B} \cdot \left(\sqrt{{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}} \cdot \sqrt{{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}}\right) - \frac{x}{\tan B}\]
Alternative 18
Error14.1
Cost40256
\[\frac{F}{\sin B} \cdot \left({\left(\sqrt{2 \cdot x + \left(2 + F \cdot F\right)}\right)}^{-0.5} \cdot {\left(\sqrt{2 \cdot x + \left(2 + F \cdot F\right)}\right)}^{-0.5}\right) - \frac{x}{\tan B}\]
Alternative 19
Error14.1
Cost40256
\[{\left(\sqrt{2 \cdot x + \left(2 + F \cdot F\right)}\right)}^{-0.5} \cdot \left(\frac{F}{\sin B} \cdot {\left(\sqrt{2 \cdot x + \left(2 + F \cdot F\right)}\right)}^{-0.5}\right) - \frac{x}{\tan B}\]
Alternative 20
Error38.8
Cost39808
\[\left(\frac{1}{\sqrt{\sin B}} \cdot \frac{F}{\sqrt{\sin B}}\right) \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \frac{x}{\tan B}\]
Alternative 21
Error14.5
Cost39808
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \left(\sqrt[3]{x} \cdot \sqrt[3]{x}\right) \cdot \frac{\sqrt[3]{x}}{\tan B}\]
Alternative 22
Error39.3
Cost39808
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \sqrt{\frac{x}{\tan B}} \cdot \sqrt{\frac{x}{\tan B}}\]
Alternative 23
Error33.0
Cost39488
\[\log \left({\left(e^{{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}}\right)}^{\left(\frac{F}{\sin B}\right)}\right) - \frac{x}{\tan B}\]
Alternative 24
Error34.1
Cost33280
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \sqrt{x} \cdot \frac{\sqrt{x}}{\tan B}\]
Alternative 25
Error37.8
Cost33280
\[\sqrt{F} \cdot \left({\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} \cdot \frac{\sqrt{F}}{\sin B}\right) - \frac{x}{\tan B}\]
Alternative 26
Error22.6
Cost33216
\[\sqrt[3]{{\left(\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}\right)}^{3}} - \frac{x}{\tan B}\]
Alternative 27
Error16.6
Cost33216
\[\frac{F}{\sin B} \cdot \sqrt[3]{{\left({\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}\right)}^{3}} - \frac{x}{\tan B}\]
Alternative 28
Error34.1
Cost33216
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \sqrt[3]{{\left(\frac{x}{\tan B}\right)}^{3}}\]
Alternative 29
Error36.0
Cost33152
\[e^{\log \left(\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}\right)} - \frac{x}{\tan B}\]
Alternative 30
Error46.5
Cost33152
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \log \left(e^{\frac{x}{\tan B}}\right)\]
Alternative 31
Error40.5
Cost33152
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - e^{\log \left(\frac{x}{\tan B}\right)}\]
Alternative 32
Error14.1
Cost27456
\[\frac{F}{\sin B} \cdot \left({\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.25} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.25}\right) - \frac{x}{\tan B}\]
Alternative 33
Error14.1
Cost27456
\[{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.25} \cdot \left(\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.25}\right) - \frac{x}{\tan B}\]
Alternative 34
Error10.8
Cost27456
\[\left(F \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.25}\right) \cdot \frac{{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.25}}{\sin B} - \frac{x}{\tan B}\]
Alternative 35
Error10.8
Cost27456
\[F \cdot \frac{{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.25} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.25}}{\sin B} - \frac{x}{\tan B}\]
Alternative 36
Error14.0
Cost26880
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \frac{x}{\sin B} \cdot \cos B\]
Alternative 37
Error10.8
Cost26816
\[F \cdot \frac{{\left({\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.25}\right)}^{2}}{\sin B} - \frac{x}{\tan B}\]
Alternative 38
Error14.1
Cost20480
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - x \cdot \frac{1}{\tan B}\]
Alternative 39
Error10.8
Cost20480
\[\frac{1}{\sin B} \cdot \left(F \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}\right) - \frac{x}{\tan B}\]
Alternative 40
Error14.0
Cost20480
\[{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} \cdot \left(F \cdot \frac{1}{\sin B}\right) - \frac{x}{\tan B}\]
Alternative 41
Error14.1
Cost20480
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \frac{1}{\frac{\tan B}{x}}\]
Alternative 42
Error14.0
Cost20480
\[{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} \cdot \frac{1}{\frac{\sin B}{F}} - \frac{x}{\tan B}\]
Alternative 43
Error10.8
Cost20480
\[\frac{1}{\frac{\sin B}{F \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}}} - \frac{x}{\tan B}\]
Alternative 44
Error10.8
Cost20480
\[F \cdot \left({\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} \cdot \frac{1}{\sin B}\right) - \frac{x}{\tan B}\]
Alternative 45
Error10.8
Cost20352
\[F \cdot \frac{{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}}{\sin B} - \frac{x}{\tan B}\]
Alternative 46
Error14.0
Cost20352
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \frac{x}{\tan B}\]
Alternative 47
Error10.7
Cost20352
\[\frac{F \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}}{\sin B} - \frac{x}{\tan B}\]
Alternative 48
Error30.1
Cost20160
\[\frac{F}{\sin B} \cdot \sqrt{\frac{1}{2 + 2 \cdot x}} - \frac{x}{\tan B}\]
Alternative 49
Error10.8
Cost20160
\[\frac{F \cdot \sqrt{\frac{1}{2 + F \cdot F}}}{\sin B} - \frac{x}{\tan B}\]
Alternative 50
Error14.0
Cost20160
\[\frac{F}{\sin B} \cdot \sqrt{\frac{1}{2 + F \cdot F}} - \frac{x}{\tan B}\]
Alternative 51
Error30.0
Cost20160
\[F \cdot \frac{\sqrt{\frac{1}{2 + 2 \cdot x}}}{\sin B} - \frac{x}{\tan B}\]
Alternative 52
Error30.0
Cost20160
\[\frac{F \cdot \sqrt{\frac{1}{2 + 2 \cdot x}}}{\sin B} - \frac{x}{\tan B}\]
Alternative 53
Error47.7
Cost19968
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x\right)}^{-0.5} - \frac{x}{\tan B}\]
Alternative 54
Error27.5
Cost14400
\[F \cdot \left(\sqrt{\frac{1}{2 \cdot x + \left(2 + F \cdot F\right)}} \cdot \left(\frac{1}{B} + B \cdot 0.16666666666666666\right)\right) - \frac{x}{\tan B}\]
Alternative 55
Error24.9
Cost14016
\[\frac{F}{B} \cdot \sqrt{\frac{1}{2 \cdot x + \left(2 + F \cdot F\right)}} - \frac{x}{\tan B}\]
Alternative 56
Error33.0
Cost13952
\[\frac{F}{\sin B} \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} - \frac{x}{B}\]
Alternative 57
Error24.9
Cost13952
\[{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5} \cdot \frac{F}{B} - \frac{x}{\tan B}\]
Alternative 58
Error29.8
Cost13952
\[F \cdot \frac{{\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}}{\sin B} - \frac{x}{B}\]
Alternative 59
Error29.8
Cost13952
\[\frac{F \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}}{\sin B} - \frac{x}{B}\]
Alternative 60
Error35.6
Cost13504
\[\frac{F}{\sin B} \cdot \frac{-1}{F} - \frac{x}{\tan B}\]
Alternative 61
Error36.0
Cost13504
\[\frac{F}{\sin B} \cdot \frac{1}{F} - \frac{x}{\tan B}\]
Alternative 62
Error32.6
Cost13504
\[F \cdot \frac{\frac{1}{F}}{\sin B} - \frac{x}{\tan B}\]
Alternative 63
Error31.1
Cost13248
\[\frac{-1}{\sin B} - \frac{x}{\tan B}\]
Alternative 64
Error31.4
Cost13248
\[\frac{1}{\sin B} - \frac{x}{\tan B}\]
Alternative 65
Error60.9
Cost64
\[1\]
Alternative 66
Error62.2
Cost64
\[0\]
Alternative 67
Error60.9
Cost64
\[-1\]

Error

Derivation

  1. Split input into 3 regimes
  2. if F < -2.9577236838414358e47

    1. Initial program 28.7

      \[\left(-x \cdot \frac{1}{\tan B}\right) + \frac{F}{\sin B} \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(-\frac{1}{2}\right)}\]
    2. Simplified28.6

      \[\leadsto \color{blue}{\frac{F}{\sin B} \cdot {\left(\left(F \cdot F + 2\right) + x \cdot 2\right)}^{-0.5} - \frac{x}{\tan B}}\]
    3. Taylor expanded around -inf 0.2

      \[\leadsto \color{blue}{\frac{-1}{\sin B}} - \frac{x}{\tan B}\]
    4. Simplified0.2

      \[\leadsto \color{blue}{\frac{-1}{\sin B} - \frac{x}{\tan B}}\]

    if -2.9577236838414358e47 < F < 97778852.442119002

    1. Initial program 0.5

      \[\left(-x \cdot \frac{1}{\tan B}\right) + \frac{F}{\sin B} \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(-\frac{1}{2}\right)}\]
    2. Simplified0.4

      \[\leadsto \color{blue}{\frac{F}{\sin B} \cdot {\left(\left(F \cdot F + 2\right) + x \cdot 2\right)}^{-0.5} - \frac{x}{\tan B}}\]
    3. Using strategy rm
    4. Applied associate-*l/_binary640.3

      \[\leadsto \color{blue}{\frac{F \cdot {\left(\left(F \cdot F + 2\right) + x \cdot 2\right)}^{-0.5}}{\sin B}} - \frac{x}{\tan B}\]
    5. Simplified0.3

      \[\leadsto \frac{\color{blue}{F \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{-0.5}}}{\sin B} - \frac{x}{\tan B}\]
    6. Using strategy rm
    7. Applied clear-num_binary640.3

      \[\leadsto \color{blue}{\frac{1}{\frac{\sin B}{F \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{-0.5}}}} - \frac{x}{\tan B}\]
    8. Simplified0.3

      \[\leadsto \color{blue}{\frac{1}{\frac{\sin B}{F \cdot {\left(2 \cdot x + \left(2 + F \cdot F\right)\right)}^{-0.5}}} - \frac{x}{\tan B}}\]

    if 97778852.442119002 < F

    1. Initial program 25.6

      \[\left(-x \cdot \frac{1}{\tan B}\right) + \frac{F}{\sin B} \cdot {\left(\left(F \cdot F + 2\right) + 2 \cdot x\right)}^{\left(-\frac{1}{2}\right)}\]
    2. Simplified25.6

      \[\leadsto \color{blue}{\frac{F}{\sin B} \cdot {\left(\left(F \cdot F + 2\right) + x \cdot 2\right)}^{-0.5} - \frac{x}{\tan B}}\]
    3. Taylor expanded around inf 0.1

      \[\leadsto \color{blue}{\frac{1}{\sin B}} - \frac{x}{\tan B}\]
    4. Simplified0.1

      \[\leadsto \color{blue}{\frac{1}{\sin B} - \frac{x}{\tan B}}\]
  3. Recombined 3 regimes into one program.
  4. Final simplification0.2

    \[\leadsto \begin{array}{l} \mathbf{if}\;F \leq -2.957723683841436 \cdot 10^{+47}:\\ \;\;\;\;\frac{-1}{\sin B} - \frac{x}{\tan B}\\ \mathbf{elif}\;F \leq 97778852.442119:\\ \;\;\;\;\frac{1}{\frac{\sin B}{F \cdot {\left(x \cdot 2 + \left(2 + F \cdot F\right)\right)}^{-0.5}}} - \frac{x}{\tan B}\\ \mathbf{else}:\\ \;\;\;\;\frac{1}{\sin B} - \frac{x}{\tan B}\\ \end{array}\]

Reproduce

herbie shell --seed 2021042 
(FPCore (F B x)
  :name "VandenBroeck and Keller, Equation (23)"
  :precision binary64
  (+ (- (* x (/ 1.0 (tan B)))) (* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))))