
(FPCore (x y) :precision binary64 (* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
double code(double x, double y) {
return (3.0 * sqrt(x)) * ((y + (1.0 / (x * 9.0))) - 1.0);
}
real(8) function code(x, y)
real(8), intent (in) :: x
real(8), intent (in) :: y
code = (3.0d0 * sqrt(x)) * ((y + (1.0d0 / (x * 9.0d0))) - 1.0d0)
end function
public static double code(double x, double y) {
return (3.0 * Math.sqrt(x)) * ((y + (1.0 / (x * 9.0))) - 1.0);
}
def code(x, y): return (3.0 * math.sqrt(x)) * ((y + (1.0 / (x * 9.0))) - 1.0)
function code(x, y) return Float64(Float64(3.0 * sqrt(x)) * Float64(Float64(y + Float64(1.0 / Float64(x * 9.0))) - 1.0)) end
function tmp = code(x, y) tmp = (3.0 * sqrt(x)) * ((y + (1.0 / (x * 9.0))) - 1.0); end
code[x_, y_] := N[(N[(3.0 * N[Sqrt[x], $MachinePrecision]), $MachinePrecision] * N[(N[(y + N[(1.0 / N[(x * 9.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - 1.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(3 \cdot \sqrt{x}\right) \cdot \left(\left(y + \frac{1}{x \cdot 9}\right) - 1\right)
\end{array}
herbie shell --seed 2024035
(FPCore (x y)
:name "Numeric.SpecFunctions:incompleteGamma from math-functions-0.1.5.2, B"
:precision binary64
:herbie-target
(* 3.0 (+ (* y (sqrt x)) (* (- (/ 1.0 (* x 9.0)) 1.0) (sqrt x))))
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
Please file a bug report with this information.
| 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 #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t #t... | L | C | |
|---|---|---|---|
| valid-splitindices? | /home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt | 170 | 0 |
| (unnamed) | .../private/arr-i.rkt | 961 | 8 |
| option-on-expr | /home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt | 106 | 0 |
| infer-splitpoints | /home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt | 39 | 0 |
| loop | /home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt | 27 | 2 |
| loop | /home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt | 27 | 2 |
| loop | /home/nightlies/herbie/zane-regimes-2/src/core/regimes.rkt | 27 | 2 |
| extract! | /home/nightlies/herbie/zane-regimes-2/src/mainloop.rkt | 365 | 0 |
| run-improve! | /home/nightlies/herbie/zane-regimes-2/src/mainloop.rkt | 339 | 0 |
| get-alternatives/report | /home/nightlies/herbie/zane-regimes-2/src/sandbox.rkt | 169 | 0 |
| (unnamed) | /home/nightlies/herbie/zane-regimes-2/src/sandbox.rkt | 262 | 6 |
| (unnamed) | /usr/local/racket/share/pkgs/profile-lib/main.rkt | 40 | 10 |
| profile-thunk | /usr/local/racket/share/pkgs/profile-lib/main.rkt | 9 | 0 |
| (unnamed) | /usr/local/racket/collects/racket/engine.rkt | 42 | 24 |