
(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}
herbie shell --seed 2025080
(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.
| match: no matching clause for '#&128 | L | C | |
|---|---|---|---|
| make-hint | /home/nightlies/rival/oopsla/infra/run-baseline.rkt | 35 | 0 |
| baseline-analyze | /home/nightlies/rival/oopsla/infra/run-baseline.rkt | 206 | 0 |
| (unnamed) | /usr/share/racket/collects/racket/contract/private/arrow-val-first.rkt | 489 | 18 |
| (unnamed) | /usr/share/racket/collects/racket/contract/private/arrow-val-first.rkt | 489 | 18 |
| search-step | /home/nightlies/herbie/baseline-kernel/src/core/searchreals.rkt | 32 | 0 |
| find-intervals | /home/nightlies/herbie/baseline-kernel/src/core/searchreals.rkt | 90 | 0 |
| make-sampler | /home/nightlies/herbie/baseline-kernel/src/core/sampling.rkt | 124 | 0 |
| sample-points | /home/nightlies/herbie/baseline-kernel/src/core/sampling.rkt | 211 | 0 |
| sample-pcontext | /home/nightlies/herbie/baseline-kernel/src/api/sandbox.rkt | 40 | 0 |
| get-alternatives/report | /home/nightlies/herbie/baseline-kernel/src/api/sandbox.rkt | 174 | 0 |
| (unnamed) | /home/nightlies/herbie/baseline-kernel/src/api/sandbox.rkt | 265 | 6 |
| (unnamed) | /usr/share/racket/pkgs/profile-lib/main.rkt | 40 | 10 |
| profile-thunk | /usr/share/racket/pkgs/profile-lib/main.rkt | 9 | 0 |
| in-engine | /home/nightlies/herbie/baseline-kernel/src/api/sandbox.rkt | 283 | 2 |
| (unnamed) | /usr/share/racket/collects/racket/engine.rkt | 42 | 24 |