Average Error: 0.1 → 0.2
Time: 21.3s
Precision: 64
\[\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)\]
\[\sin \left(\log \left(\sqrt{e^{{\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}}}\right) + \log \left(\sqrt{e^{{\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}}}\right)\right)\]
\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)
\sin \left(\log \left(\sqrt{e^{{\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}}}\right) + \log \left(\sqrt{e^{{\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}}}\right)\right)
double f(double a, double b) {
        double r1266908 = b;
        double r1266909 = atan2(r1266908, r1266908);
        double r1266910 = sqrt(r1266909);
        double r1266911 = a;
        double r1266912 = r1266908 - r1266911;
        double r1266913 = pow(r1266910, r1266912);
        double r1266914 = sin(r1266913);
        return r1266914;
}

double f(double a, double b) {
        double r1266915 = b;
        double r1266916 = atan2(r1266915, r1266915);
        double r1266917 = sqrt(r1266916);
        double r1266918 = a;
        double r1266919 = r1266915 - r1266918;
        double r1266920 = pow(r1266917, r1266919);
        double r1266921 = exp(r1266920);
        double r1266922 = sqrt(r1266921);
        double r1266923 = log(r1266922);
        double r1266924 = r1266923 + r1266923;
        double r1266925 = sin(r1266924);
        return r1266925;
}

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-log-exp0.2

    \[\leadsto \sin \color{blue}{\left(\log \left(e^{{\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}}\right)\right)}\]
  4. Using strategy rm
  5. Applied add-sqr-sqrt0.2

    \[\leadsto \sin \left(\log \color{blue}{\left(\sqrt{e^{{\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}}} \cdot \sqrt{e^{{\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}}}\right)}\right)\]
  6. Applied log-prod0.2

    \[\leadsto \sin \color{blue}{\left(\log \left(\sqrt{e^{{\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}}}\right) + \log \left(\sqrt{e^{{\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}}}\right)\right)}\]
  7. Final simplification0.2

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

Reproduce

herbie shell --seed 2019192 
(FPCore (a b)
  :name "Random Jason Timeout Test 015"
  (sin (pow (sqrt (atan2 b b)) (- b a))))