Average Error: 0.1 → 0.1
Time: 4.0s
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 r3088 = b;
        double r3089 = atan2(r3088, r3088);
        double r3090 = sqrt(r3089);
        double r3091 = a;
        double r3092 = r3088 - r3091;
        double r3093 = pow(r3090, r3092);
        double r3094 = sin(r3093);
        return r3094;
}

double f(double a, double b) {
        double r3095 = b;
        double r3096 = atan2(r3095, r3095);
        double r3097 = sqrt(r3096);
        double r3098 = a;
        double r3099 = r3095 - r3098;
        double r3100 = pow(r3097, r3099);
        double r3101 = sin(r3100);
        return r3101;
}

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