Average Error: 0.1 → 0.1
Time: 10.4s
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 r16916 = b;
        double r16917 = atan2(r16916, r16916);
        double r16918 = sqrt(r16917);
        double r16919 = a;
        double r16920 = r16916 - r16919;
        double r16921 = pow(r16918, r16920);
        double r16922 = sin(r16921);
        return r16922;
}

double f(double a, double b) {
        double r16923 = b;
        double r16924 = atan2(r16923, r16923);
        double r16925 = sqrt(r16924);
        double r16926 = a;
        double r16927 = r16923 - r16926;
        double r16928 = pow(r16925, r16927);
        double r16929 = sin(r16928);
        return r16929;
}

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 2019323 +o rules:numerics
(FPCore (a b)
  :name "Random Jason Timeout Test 003"
  :precision binary64
  (sin (pow (sqrt (atan2 b b)) (- b a))))