Average Error: 0.1 → 0.1
Time: 5.1s
Precision: 64
\[\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)\]
\[\sin \left({\left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(\sqrt[3]{b - a} \cdot \sqrt[3]{b - a}\right)}\right)}^{\left(\sqrt[3]{b - a}\right)}\right)\]
\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)
\sin \left({\left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(\sqrt[3]{b - a} \cdot \sqrt[3]{b - a}\right)}\right)}^{\left(\sqrt[3]{b - a}\right)}\right)
double f(double a, double b) {
        double r9118 = b;
        double r9119 = atan2(r9118, r9118);
        double r9120 = sqrt(r9119);
        double r9121 = a;
        double r9122 = r9118 - r9121;
        double r9123 = pow(r9120, r9122);
        double r9124 = sin(r9123);
        return r9124;
}

double f(double a, double b) {
        double r9125 = b;
        double r9126 = atan2(r9125, r9125);
        double r9127 = sqrt(r9126);
        double r9128 = a;
        double r9129 = r9125 - r9128;
        double r9130 = cbrt(r9129);
        double r9131 = r9130 * r9130;
        double r9132 = pow(r9127, r9131);
        double r9133 = pow(r9132, r9130);
        double r9134 = sin(r9133);
        return r9134;
}

Error

Bits error versus a

Bits error versus b

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.1

    \[\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)\]
  2. Using strategy rm
  3. Applied add-cube-cbrt0.1

    \[\leadsto \sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\color{blue}{\left(\left(\sqrt[3]{b - a} \cdot \sqrt[3]{b - a}\right) \cdot \sqrt[3]{b - a}\right)}}\right)\]
  4. Applied pow-unpow0.1

    \[\leadsto \sin \color{blue}{\left({\left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(\sqrt[3]{b - a} \cdot \sqrt[3]{b - a}\right)}\right)}^{\left(\sqrt[3]{b - a}\right)}\right)}\]
  5. Final simplification0.1

    \[\leadsto \sin \left({\left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(\sqrt[3]{b - a} \cdot \sqrt[3]{b - a}\right)}\right)}^{\left(\sqrt[3]{b - a}\right)}\right)\]

Reproduce

herbie shell --seed 2020001 +o rules:numerics
(FPCore (a b)
  :name "Random Jason Timeout Test 015"
  :precision binary64
  (sin (pow (sqrt (atan2 b b)) (- b a))))