Average Error: 0.1 → 0.1
Time: 4.9s
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 r31221 = b;
        double r31222 = atan2(r31221, r31221);
        double r31223 = sqrt(r31222);
        double r31224 = a;
        double r31225 = r31221 - r31224;
        double r31226 = pow(r31223, r31225);
        double r31227 = sin(r31226);
        return r31227;
}

double f(double a, double b) {
        double r31228 = b;
        double r31229 = atan2(r31228, r31228);
        double r31230 = sqrt(r31229);
        double r31231 = a;
        double r31232 = r31228 - r31231;
        double r31233 = pow(r31230, r31232);
        double r31234 = sin(r31233);
        return r31234;
}

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