Average Error: 0.2 → 0.2
Time: 2.1s
Precision: binary64
\[\left(\sin x + \cos x\right) + \tan x\]
\[\left(\sin x + \cos x\right) + \tan x\]
\left(\sin x + \cos x\right) + \tan x
\left(\sin x + \cos x\right) + \tan x
double code(double x) {
	return ((double) (((double) (((double) sin(x)) + ((double) cos(x)))) + ((double) tan(x))));
}
double code(double x) {
	return ((double) (((double) (((double) sin(x)) + ((double) cos(x)))) + ((double) tan(x))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.2

    \[\left(\sin x + \cos x\right) + \tan x\]
  2. Final simplification0.2

    \[\leadsto \left(\sin x + \cos x\right) + \tan x\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(+ (+ (sin x) (cos x)) (tan x))"
  :precision binary64
  (+ (+ (sin x) (cos x)) (tan x)))