Average Error: 0.1 → 0.1
Time: 3.1s
Precision: 64
\[\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)\]
\[\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)\]
\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)
\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)
double f(double a, double b) {
        double r875 = b;
        double r876 = atan2(r875, r875);
        double r877 = sqrt(r876);
        double r878 = a;
        double r879 = r875 - r878;
        double r880 = pow(r877, r879);
        double r881 = sin(r880);
        return r881;
}

double f(double a, double b) {
        double r882 = b;
        double r883 = atan2(r882, r882);
        double r884 = sqrt(r883);
        double r885 = a;
        double r886 = r882 - r885;
        double r887 = pow(r884, r886);
        double r888 = sin(r887);
        return r888;
}

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. Final simplification0.1

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

Reproduce

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