Average Error: 0.1 → 0.1
Time: 4.8s
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 r22915 = b;
        double r22916 = atan2(r22915, r22915);
        double r22917 = sqrt(r22916);
        double r22918 = a;
        double r22919 = r22915 - r22918;
        double r22920 = pow(r22917, r22919);
        double r22921 = sin(r22920);
        return r22921;
}

double f(double a, double b) {
        double r22922 = b;
        double r22923 = atan2(r22922, r22922);
        double r22924 = sqrt(r22923);
        double r22925 = a;
        double r22926 = r22922 - r22925;
        double r22927 = cbrt(r22926);
        double r22928 = r22927 * r22927;
        double r22929 = pow(r22924, r22928);
        double r22930 = pow(r22929, r22927);
        double r22931 = sin(r22930);
        return r22931;
}

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