\frac{1 - \tan x \cdot \tan x}{1 + \tan x \cdot \tan x}\frac{1 - \tan x \cdot \tan x}{\sqrt[3]{\left(\tan x \cdot \left(\tan x \cdot \tan x\right)\right) \cdot \left(\tan x \cdot \left(\tan x \cdot \tan x\right)\right)} + 1}double f(double x) {
double r654250 = 1.0;
double r654251 = x;
double r654252 = tan(r654251);
double r654253 = r654252 * r654252;
double r654254 = r654250 - r654253;
double r654255 = r654250 + r654253;
double r654256 = r654254 / r654255;
return r654256;
}
double f(double x) {
double r654257 = 1.0;
double r654258 = x;
double r654259 = tan(r654258);
double r654260 = r654259 * r654259;
double r654261 = r654257 - r654260;
double r654262 = r654259 * r654260;
double r654263 = r654262 * r654262;
double r654264 = cbrt(r654263);
double r654265 = r654264 + r654257;
double r654266 = r654261 / r654265;
return r654266;
}



Bits error versus x
Results
Initial program 0.3
rmApplied add-cbrt-cube0.4
Applied add-cbrt-cube0.5
Applied cbrt-unprod0.4
Final simplification0.4
herbie shell --seed 2019200
(FPCore (x)
:name "Trigonometry B"
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x)))))