Average Error: 0.1 → 0.1
Time: 12.6s
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 r9574 = b;
        double r9575 = atan2(r9574, r9574);
        double r9576 = sqrt(r9575);
        double r9577 = a;
        double r9578 = r9574 - r9577;
        double r9579 = pow(r9576, r9578);
        double r9580 = sin(r9579);
        return r9580;
}

double f(double a, double b) {
        double r9581 = b;
        double r9582 = atan2(r9581, r9581);
        double r9583 = sqrt(r9582);
        double r9584 = a;
        double r9585 = r9581 - r9584;
        double r9586 = pow(r9583, r9585);
        double r9587 = sin(r9586);
        return r9587;
}

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))))