Average Error: 0.1 → 0.1
Time: 18.9s
Precision: 64
\[\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)\]
\[\sin \left({\left(\sqrt{\sqrt{\tan^{-1}_* \frac{b}{b}}}\right)}^{\left(b - a\right)} \cdot \mathsf{expm1}\left(\mathsf{log1p}\left({\left(\sqrt{\sqrt{\tan^{-1}_* \frac{b}{b}}}\right)}^{\left(b - a\right)}\right)\right)\right)\]
\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)
\sin \left({\left(\sqrt{\sqrt{\tan^{-1}_* \frac{b}{b}}}\right)}^{\left(b - a\right)} \cdot \mathsf{expm1}\left(\mathsf{log1p}\left({\left(\sqrt{\sqrt{\tan^{-1}_* \frac{b}{b}}}\right)}^{\left(b - a\right)}\right)\right)\right)
double f(double a, double b) {
        double r996060 = b;
        double r996061 = atan2(r996060, r996060);
        double r996062 = sqrt(r996061);
        double r996063 = a;
        double r996064 = r996060 - r996063;
        double r996065 = pow(r996062, r996064);
        double r996066 = sin(r996065);
        return r996066;
}

double f(double a, double b) {
        double r996067 = b;
        double r996068 = atan2(r996067, r996067);
        double r996069 = sqrt(r996068);
        double r996070 = sqrt(r996069);
        double r996071 = a;
        double r996072 = r996067 - r996071;
        double r996073 = pow(r996070, r996072);
        double r996074 = log1p(r996073);
        double r996075 = expm1(r996074);
        double r996076 = r996073 * r996075;
        double r996077 = sin(r996076);
        return r996077;
}

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. Using strategy rm
  3. Applied add-sqr-sqrt0.1

    \[\leadsto \sin \left({\left(\sqrt{\color{blue}{\sqrt{\tan^{-1}_* \frac{b}{b}} \cdot \sqrt{\tan^{-1}_* \frac{b}{b}}}}\right)}^{\left(b - a\right)}\right)\]
  4. Applied sqrt-prod0.1

    \[\leadsto \sin \left({\color{blue}{\left(\sqrt{\sqrt{\tan^{-1}_* \frac{b}{b}}} \cdot \sqrt{\sqrt{\tan^{-1}_* \frac{b}{b}}}\right)}}^{\left(b - a\right)}\right)\]
  5. Applied unpow-prod-down0.1

    \[\leadsto \sin \color{blue}{\left({\left(\sqrt{\sqrt{\tan^{-1}_* \frac{b}{b}}}\right)}^{\left(b - a\right)} \cdot {\left(\sqrt{\sqrt{\tan^{-1}_* \frac{b}{b}}}\right)}^{\left(b - a\right)}\right)}\]
  6. Using strategy rm
  7. Applied expm1-log1p-u0.1

    \[\leadsto \sin \left(\color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left({\left(\sqrt{\sqrt{\tan^{-1}_* \frac{b}{b}}}\right)}^{\left(b - a\right)}\right)\right)} \cdot {\left(\sqrt{\sqrt{\tan^{-1}_* \frac{b}{b}}}\right)}^{\left(b - a\right)}\right)\]
  8. Final simplification0.1

    \[\leadsto \sin \left({\left(\sqrt{\sqrt{\tan^{-1}_* \frac{b}{b}}}\right)}^{\left(b - a\right)} \cdot \mathsf{expm1}\left(\mathsf{log1p}\left({\left(\sqrt{\sqrt{\tan^{-1}_* \frac{b}{b}}}\right)}^{\left(b - a\right)}\right)\right)\right)\]

Reproduce

herbie shell --seed 2019153 +o rules:numerics
(FPCore (a b)
  :name "Random Jason Timeout Test 003"
  (sin (pow (sqrt (atan2 b b)) (- b a))))