Average Error: 0.1 → 0.1
Time: 5.0s
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 r22938 = b;
        double r22939 = atan2(r22938, r22938);
        double r22940 = sqrt(r22939);
        double r22941 = a;
        double r22942 = r22938 - r22941;
        double r22943 = pow(r22940, r22942);
        double r22944 = sin(r22943);
        return r22944;
}

double f(double a, double b) {
        double r22945 = b;
        double r22946 = atan2(r22945, r22945);
        double r22947 = sqrt(r22946);
        double r22948 = a;
        double r22949 = r22945 - r22948;
        double r22950 = cbrt(r22949);
        double r22951 = r22950 * r22950;
        double r22952 = pow(r22947, r22951);
        double r22953 = pow(r22952, r22950);
        double r22954 = sin(r22953);
        return r22954;
}

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 003"
  :precision binary64
  (sin (pow (sqrt (atan2 b b)) (- b a))))