VandenBroeck and Keller, Equation (6)

Specification

?
\[\begin{array}{l} \\ \pi \cdot \ell - \frac{1}{F \cdot F} \cdot \tan \left(\pi \cdot \ell\right) \end{array} \]
(FPCore (F l)
 :precision binary64
 (- (* PI l) (* (/ 1.0 (* F F)) (tan (* PI l)))))
double code(double F, double l) {
	return (((double) M_PI) * l) - ((1.0 / (F * F)) * tan((((double) M_PI) * l)));
}
public static double code(double F, double l) {
	return (Math.PI * l) - ((1.0 / (F * F)) * Math.tan((Math.PI * l)));
}
def code(F, l):
	return (math.pi * l) - ((1.0 / (F * F)) * math.tan((math.pi * l)))
function code(F, l)
	return Float64(Float64(pi * l) - Float64(Float64(1.0 / Float64(F * F)) * tan(Float64(pi * l))))
end
function tmp = code(F, l)
	tmp = (pi * l) - ((1.0 / (F * F)) * tan((pi * l)));
end
code[F_, l_] := N[(N[(Pi * l), $MachinePrecision] - N[(N[(1.0 / N[(F * F), $MachinePrecision]), $MachinePrecision] * N[Tan[N[(Pi * l), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\pi \cdot \ell - \frac{1}{F \cdot F} \cdot \tan \left(\pi \cdot \ell\right)
\end{array}

Reproduce

?
herbie shell --seed 2024085 
(FPCore (F l)
  :name "VandenBroeck and Keller, Equation (6)"
  :precision binary64
  (- (* PI l) (* (/ 1.0 (* F F)) (tan (* PI l)))))

Please file a bug report with this information.

Backtrace

err-lsts->split-indices: broke its own contract promised: curried:valid-splitindices? produced: '(#s(si 20 46) #s(si 0 61) #s(si 70 113) #s(si 0 256)) in: the result result of (->i ((e (listof list)) (cs (listof boolean?))) (result (cs) (curry valid-splitindices? cs))) contract from: (function err-lsts->split-indices) blaming: (function err-lsts->split-indices) (assuming the contract is correct) at: <pkgs>/herbie/core/regimes.rkt:178:18LC
raise-blame-error/usr/local/racket/collects/racket/contract/private/blame.rkt3460
(unnamed).../private/arr-i.rkt9618
option-on-expr/home/nightlies/herbie/zane-regimes-inverted/src/core/regimes.rkt1080
infer-splitpoints/home/nightlies/herbie/zane-regimes-inverted/src/core/regimes.rkt420
loop/home/nightlies/herbie/zane-regimes-inverted/src/core/regimes.rkt272
extract!/home/nightlies/herbie/zane-regimes-inverted/src/mainloop.rkt3680
run-improve!/home/nightlies/herbie/zane-regimes-inverted/src/mainloop.rkt3260
get-alternatives/report/home/nightlies/herbie/zane-regimes-inverted/src/sandbox.rkt1710
(unnamed)/home/nightlies/herbie/zane-regimes-inverted/src/sandbox.rkt2666
(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