Average Error: 0.1 → 0.1
Time: 2.7s
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 r8719 = b;
        double r8720 = atan2(r8719, r8719);
        double r8721 = sqrt(r8720);
        double r8722 = a;
        double r8723 = r8719 - r8722;
        double r8724 = pow(r8721, r8723);
        double r8725 = sin(r8724);
        return r8725;
}

double f(double a, double b) {
        double r8726 = b;
        double r8727 = atan2(r8726, r8726);
        double r8728 = sqrt(r8727);
        double r8729 = a;
        double r8730 = r8726 - r8729;
        double r8731 = pow(r8728, r8730);
        double r8732 = sin(r8731);
        return r8732;
}

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