Average Error: 0.1 → 0.1
Time: 5.9s
Precision: binary64
\[\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)\]
\[\sin \left({\left(\tan^{-1}_* \frac{b}{b}\right)}^{\left(\frac{1}{2} \cdot \left(b - a\right)\right)}\right)\]
\sin \left({\left(\sqrt{\tan^{-1}_* \frac{b}{b}}\right)}^{\left(b - a\right)}\right)
\sin \left({\left(\tan^{-1}_* \frac{b}{b}\right)}^{\left(\frac{1}{2} \cdot \left(b - a\right)\right)}\right)
double code(double a, double b) {
	return ((double) sin(((double) pow(((double) sqrt(((double) atan2(b, b)))), ((double) (b - a))))));
}
double code(double a, double b) {
	return ((double) sin(((double) pow(((double) atan2(b, b)), ((double) (0.5 * ((double) (b - a))))))));
}

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 pow1/20.1

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

    \[\leadsto \sin \color{blue}{\left({\left(\tan^{-1}_* \frac{b}{b}\right)}^{\left(\frac{1}{2} \cdot \left(b - a\right)\right)}\right)}\]
  5. Final simplification0.1

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

Reproduce

herbie shell --seed 2020147 
(FPCore (a b)
  :name "Random Jason Timeout Test 003"
  :precision binary64
  (sin (pow (sqrt (atan2 b b)) (- b a))))