Average Error: 0.1 → 0.1
Time: 4.9s
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 r22906 = b;
        double r22907 = atan2(r22906, r22906);
        double r22908 = sqrt(r22907);
        double r22909 = a;
        double r22910 = r22906 - r22909;
        double r22911 = pow(r22908, r22910);
        double r22912 = sin(r22911);
        return r22912;
}

double f(double a, double b) {
        double r22913 = b;
        double r22914 = atan2(r22913, r22913);
        double r22915 = sqrt(r22914);
        double r22916 = a;
        double r22917 = r22913 - r22916;
        double r22918 = cbrt(r22917);
        double r22919 = r22918 * r22918;
        double r22920 = pow(r22915, r22919);
        double r22921 = pow(r22920, r22918);
        double r22922 = sin(r22921);
        return r22922;
}

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))))