2tan (problem 3.3.2)

Specification

?
\[\begin{array}{l} \\ \tan \left(x + \varepsilon\right) - \tan x \end{array} \]
(FPCore (x eps) :precision binary64 (- (tan (+ x eps)) (tan x)))
double code(double x, double eps) {
	return tan((x + eps)) - tan(x);
}
real(8) function code(x, eps)
    real(8), intent (in) :: x
    real(8), intent (in) :: eps
    code = tan((x + eps)) - tan(x)
end function
public static double code(double x, double eps) {
	return Math.tan((x + eps)) - Math.tan(x);
}
def code(x, eps):
	return math.tan((x + eps)) - math.tan(x)
function code(x, eps)
	return Float64(tan(Float64(x + eps)) - tan(x))
end
function tmp = code(x, eps)
	tmp = tan((x + eps)) - tan(x);
end
code[x_, eps_] := N[(N[Tan[N[(x + eps), $MachinePrecision]], $MachinePrecision] - N[Tan[x], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\tan \left(x + \varepsilon\right) - \tan x
\end{array}

Reproduce

?
herbie shell --seed 2024035 
(FPCore (x eps)
  :name "2tan (problem 3.3.2)"
  :precision binary64

  :herbie-target
  (/ (sin eps) (* (cos x) (cos (+ x eps))))

  (- (tan (+ x eps)) (tan x)))

Please file a bug report with this information.

Backtrace

list-ref: index too large for list index: 256 in: '(#f #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #f #f #f #f #f #f #f #f #f #f #f #f #f #f #f #f #f #f #f...LC
valid-splitindices?/home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt1700
(unnamed).../private/arr-i.rkt9618
option-on-expr/home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt1060
infer-splitpoints/home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt390
loop/home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt272
loop/home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt272
extract!/home/nightlies/herbie/zane-regimes-2/src/mainloop.rkt3650
run-improve!/home/nightlies/herbie/zane-regimes-2/src/mainloop.rkt3390
get-alternatives/report/home/nightlies/herbie/zane-regimes-2/src/sandbox.rkt1690
(unnamed)/home/nightlies/herbie/zane-regimes-2/src/sandbox.rkt2626
(unnamed)/usr/local/racket/share/pkgs/profile-lib/main.rkt4010
profile-thunk/usr/local/racket/share/pkgs/profile-lib/main.rkt90
(unnamed)/usr/local/racket/collects/racket/engine.rkt4224