Average Error: 0.1 → 0.1
Time: 2.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 r8516 = b;
        double r8517 = atan2(r8516, r8516);
        double r8518 = sqrt(r8517);
        double r8519 = a;
        double r8520 = r8516 - r8519;
        double r8521 = pow(r8518, r8520);
        double r8522 = sin(r8521);
        return r8522;
}

double f(double a, double b) {
        double r8523 = b;
        double r8524 = atan2(r8523, r8523);
        double r8525 = sqrt(r8524);
        double r8526 = a;
        double r8527 = r8523 - r8526;
        double r8528 = pow(r8525, r8527);
        double r8529 = sin(r8528);
        return r8529;
}

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