
(FPCore (x) :precision binary64 x)
double code(double x) {
return x;
}
real(8) function code(x)
real(8), intent (in) :: x
code = x
end function
public static double code(double x) {
return x;
}
def code(x): return x
function code(x) return x end
function tmp = code(x) tmp = x; end
code[x_] := x
\begin{array}{l}
\\
x
\end{array}
herbie shell --seed 2024146
(FPCore (x)
:name "x (used to be hard to sample)"
:precision binary64
:pre (or (== x 0.0) (== x 10.0))
x)
Please file a bug report with this information.
| context-vars: contract violation expected: context? given: #<procedure:context> | L | C | |
|---|---|---|---|
| context-vars | unknown | ||
| context-lookup | /home/nightlies/herbie/explanations-trifurcate/src/syntax/types.rkt | 110 | 0 |
| generate-timelines | /home/nightlies/herbie/explanations-trifurcate/src/explain.rkt | 614 | 0 |
| explain! | /home/nightlies/herbie/explanations-trifurcate/src/mainloop.rkt | 362 | 0 |
| mutate! | /home/nightlies/herbie/explanations-trifurcate/src/mainloop.rkt | 65 | 0 |
| run-improve! | /home/nightlies/herbie/explanations-trifurcate/src/mainloop.rkt | 51 | 0 |
| get-alternatives/report | /home/nightlies/herbie/explanations-trifurcate/src/sandbox.rkt | 171 | 0 |
| (unnamed) | /home/nightlies/herbie/explanations-trifurcate/src/sandbox.rkt | 265 | 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 |