
(FPCore (x y z) :precision binary64 (exp (- (+ x (* y (log y))) z)))
double code(double x, double y, double z) {
return exp(((x + (y * log(y))) - z));
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = exp(((x + (y * log(y))) - z))
end function
public static double code(double x, double y, double z) {
return Math.exp(((x + (y * Math.log(y))) - z));
}
def code(x, y, z): return math.exp(((x + (y * math.log(y))) - z))
function code(x, y, z) return exp(Float64(Float64(x + Float64(y * log(y))) - z)) end
function tmp = code(x, y, z) tmp = exp(((x + (y * log(y))) - z)); end
code[x_, y_, z_] := N[Exp[N[(N[(x + N[(y * N[Log[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - z), $MachinePrecision]], $MachinePrecision]
\begin{array}{l}
\\
e^{\left(x + y \cdot \log y\right) - z}
\end{array}
herbie shell --seed 2024283
(FPCore (x y z)
:name "Statistics.Distribution.Poisson.Internal:probability from math-functions-0.1.5.2"
:precision binary64
:alt
(! :herbie-platform default (exp (+ (- x z) (* (log y) y))))
(exp (- (+ x (* y (log y))) z)))
Please file a bug report with this information.
| eprintf: format string requires 0 arguments, given 1; arguments were: '(#s(si 3 4)) | L | C | |
|---|---|---|---|
| err-lsts->split-indices | /home/nightlies/herbie/zane-regimes-old/src/core/regimes.rkt | 219 | 0 |
| option-on-expr | /home/nightlies/herbie/zane-regimes-old/src/core/regimes.rkt | 120 | 0 |
| infer-splitpoints | /home/nightlies/herbie/zane-regimes-old/src/core/regimes.rkt | 56 | 0 |
| loop | /home/nightlies/herbie/zane-regimes-old/src/core/regimes.rkt | 41 | 2 |
| make-regime! | /home/nightlies/herbie/zane-regimes-old/src/core/mainloop.rkt | 350 | 0 |
| extract! | /home/nightlies/herbie/zane-regimes-old/src/core/mainloop.rkt | 79 | 0 |
| run-improve! | /home/nightlies/herbie/zane-regimes-old/src/core/mainloop.rkt | 45 | 0 |
| get-alternatives/report | /home/nightlies/herbie/zane-regimes-old/src/api/sandbox.rkt | 186 | 0 |
| (unnamed) | /home/nightlies/herbie/zane-regimes-old/src/api/sandbox.rkt | 282 | 6 |
| (unnamed) | /usr/share/racket/pkgs/profile-lib/main.rkt | 40 | 10 |
| profile-thunk | /usr/share/racket/pkgs/profile-lib/main.rkt | 9 | 0 |
| (unnamed) | /usr/share/racket/collects/racket/engine.rkt | 42 | 24 |